CVE-2024-39932: gogs · Code Injection
Affects gogsSource CVE Database V5
Not known to be exploited · 16% EPSS · CVSS 9.9 Critical.
Data as of 26 Oct 2026, 12:29 UTC
- EPSS
- 16.3% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubgogs/gogspkg:github/gogs/gogsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately restrict access to Gogs instances, especially from untrusted networks, by implementing network-level controls such as firewalls and VPNs. Disable or restrict the previewing of changes feature if possible until a patch is available. Employ strict input validation and sanitization on any user-supplied data interacting with the service. Monitor logs and system behavior for unusual command execution or privilege escalation attempts. Consider isolating Gogs in a hardened container or virtual machine with minimal privileges to limit potential damage. Regularly back up repositories and configurations to enable recovery in case of compromise. Stay informed about official patches or updates from the Gogs project and apply them promptly once released. Additionally, conduct internal audits of user privileges to ensure least privilege principles are enforced, reducing the risk posed by low-privilege attackers.
Description
Gogs through 0.13.0 allows argument injection during the previewing of changes.