CVE-2024-39931
CriticalGogs allows deletion of internal files
Published Dec 23, 2024 · Updated Aug 12, 2026 · Also known as GHSA-2vgj-3pvg-xh4w, GHSA-ccqv-43vm-4f3w, GO-2024-2970
Key Facts
Patch immediately- CVE-2024-39931 is a critical-severity vulnerability (CVSS 9.9 v3.1) affecting Gogs, github.com/gogs/gogs (go), gogs.io/gogs.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 53% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gogs <=0.13.0, gogs.io/gogs 0.13.1, Gogs 0.13.0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
53%
Higher than 98.9% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2024-39931 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Gogs through 0.13.0 allows deletion of internal files.
Affected Products
14 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GogsGogs | See advisory | 0.13.0 |
| github.com/gogs/gogsgo | See advisory | n/a |
| gogs.io/gogsgo | See advisory | 0.13.1 |
Patched Releases
Gogs
<=0.13.0
gogs.io/gogs
0.13.1
Timeline
Publicly disclosed
Dec 23, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-552 Files or Directories Accessible to External Parties
References
- advisoryGHSA advisory
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39931.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-39931
- advisoryhttps://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/
FAQ
Common Questions.
Gogs through 0.13.0 allows deletion of internal files.
Affected: Gogs; github.com/gogs/gogs (go); gogs.io/gogs. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Gogs <=0.13.0, gogs.io/gogs 0.13.1, Gogs 0.13.0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-39931 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo