CVE-2024-55947
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.8)
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Gogs < 0.13.1
- Gogs 0.13.1
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Gogs and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Dec 23, 2024Published
- Apr 10, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Gogs CVEsYou are reading CVE-2024-55947. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41
- Issue Trackinghttps://github.com/gogs/gogs/issues/7582
- Patchhttps://github.com/gogs/gogs/pull/7859
- Exploithttps://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg
- Exploithttps://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg
Data last checked: Dec 1, 2026 05:11 UTC