All vulnerabilities

Servers and applications

CVE-2024-54148

Path Traversal in file editing UI

Severity
High 8.7
Published
23 Dec 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.13.1
Also known as
GHSA-r7j8-5h9c-f6fx
Sources
NVD, Project advisories (GitHub)

Description

Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version before 0.13.1
GogsServers and applications · github:gogs/gogs
  • Every version before 0.13.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-54148
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-54148
  • GitHub Advisory Database https://github.com/advisories/GHSA-r7j8-5h9c-f6fx
  • github.com https://github.com/gogs/gogs/security/advisories/GHSA-r7j8-5h9c-f6fx