CVE-2024-39931: gogs · Exposed Files or Directories
Affects gogsSource CVE Database V5
Not known to be exploited · 52% EPSS · CVSS 9.9 Critical : upgrade to 0.13.1 as a priority.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 52.6% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.13.1
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
Upgrade gogs/gogs to 0.13.1.
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
To mitigate CVE-2024-39931, organizations should first restrict access to Gogs instances by enforcing strict network segmentation and limiting user privileges to the minimum necessary. Implement role-based access control (RBAC) to ensure users cannot perform unauthorized file deletions. Monitor file system integrity using tools like Tripwire or OSSEC to detect unauthorized changes promptly. Regularly back up Gogs repositories and configuration files to enable rapid recovery in case of deletion. Keep abreast of updates from the Gogs development team and apply patches immediately once released. Conduct security audits and penetration testing focused on file access controls within Gogs environments. Additionally, implement comprehensive logging and alerting to detect suspicious activities related to file operations.
Description
Gogs through 0.13.0 allows deletion of internal files.