CVE-2024-39931Gogs Vulnerability
Gogs allows deletion of internal files
Published Jul 4, 2024 · Updated Oct 28, 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.
Scores
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
Exploit maturity
None known
ATLAS score
32/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
Jul 4, 2024
Last updated
Oct 28, 2026
Weakness Type
- CWE-552 Files or Directories Accessible to External Parties
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-39931
- advisoryGHSA advisory
- advisoryGHSA advisory
- advisorysonarsource.com · securing-developer-tools-unpatched-code-vulnera…
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo