What’s Vulnerable › Vulnerabilities
CVE-2024-55947: Gogs has a Path Traversal in file update API
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 77.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-12-23 · updated 2026-06-17
- Weakness: CWE-22
Description
Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
Affected products
- gogs: before 0.13.1 — fixed in 0.13.1
How to fix
Upgrade to a fixed version: gogs 0.13.1. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41
- https://github.com/gogs/gogs/issues/7582
- https://github.com/gogs/gogs/pull/7859
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg
- https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg
Get alerted when CVE-2024-55947 or the next vulnerability affects your stack