#VU119868 Path traversal in gogs - CVE-2024-55947
Published: December 11, 2025
Vulnerability identifier: #VU119868
Vulnerability risk: Medium
CVSSv4.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
Vulnerable software:
gogs
gogs
Software vendor:
gogs.io
gogs.io
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.
Remediation
Install updates from vendor's website.