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.0: 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/E:U/U:Green
CVE-ID: CVE-2024-55947
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

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. 


How to mitigate CVE-2024-55947

Install updates from vendor's website.

Sources