# CVE-2024-39931: Gogs allows deletion of internal files

- Severity: Critical 9.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 52.7%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-07-04T00:00:00.000Z
- Modified: 2026-06-17T07:43:03.267Z
- Also known as: GHSA-2vgj-3pvg-xh4w, GHSA-ccqv-43vm-4f3w, GO-2024-2970
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

Gogs through 0.13.0 allows deletion of internal files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gogs gogs: up to 0.13.0
- github.com/gogs/gogs (Go): up to 0.13.0; all versions
- gogs.io/gogs (Go): before 0.13.1

## Every score

- mitre: CVSS:3.1 9.9 Critical `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/gogs/gogs/releases> (release-notes, web)
- <https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39931> (advisory)
- <https://github.com/gogs/gogs> (package)
- <https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1> (web)
- <https://github.com/gogs/gogs/security/advisories/GHSA-ccqv-43vm-4f3w> (web)
- <https://github.com/advisories/GHSA-2vgj-3pvg-xh4w> (advisory)

## Sources

- CVE List: [CVE-2024-39931](https://www.cve.org/CVERecord?id=CVE-2024-39931), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-2vgj-3pvg-xh4w](https://github.com/advisories/GHSA-2vgj-3pvg-xh4w), CC-BY-4.0, modified 2024-12-23
- GitHub Advisory Database: [GHSA-ccqv-43vm-4f3w](https://github.com/advisories/GHSA-ccqv-43vm-4f3w), CC-BY-4.0, modified 2024-12-23
- Go Vulnerability Database: [GO-2024-2970](https://pkg.go.dev/vuln/GO-2024-2970), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-39931](https://nvd.nist.gov/vuln/detail/CVE-2024-39931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39931 · Whole record: https://cve.day/CVE-2024-39931.json · Rebuilt by cve.day 2026-11-25T22:58:42.509Z
