Path traversal in gogs - CVE-2024-55947

 

Path traversal in gogs - CVE-2024-55947

Published: December 11, 2025


Vulnerability identifier: #VU119868
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-55947
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can write files to an arbitrary location on the system and gain SSH access to the server, leading to remote code execution. 


Affected software

gogs

How to mitigate CVE-2024-55947

Install updates from vendor's website.

gogs - update to 0.13.1

External References

Related Security Bulletins