---
title: "CVE-2024-39931: Gogs allows deletion of internal files"
url: https://erroneo.us/security/cve/CVE-2024-39931/
description: "CVE-2024-39931 (gogs.io/gogs (Go)): Gogs through 0.13.0 allows deletion of internal files."
type: vulnerability-record
section: "Security Digest"
date_published: 2024-07-04
date_modified: 2024-12-23
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-39931"
kev: false
cvss: 9.9
epss: 0.52658
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 52.7% , percentile 99: FIRST’s model estimates a 52.7% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes gogs.io/gogs (Go) <= 0.13.0, fixed in 0.13.1 . Check your lockfile, including transitive dependencies.

## What it is

Gogs through 0.13.0 allows deletion of internal files.

## Affected packages

- Go `gogs.io/gogs` <= 0.13.0 → fixed: 0.13.1

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- mitre CVSS 3.1: 9.9 `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 `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 52.66% probability of exploitation activity in the next 30 days; percentile 99.

## Sources

- [GitHub Advisory GHSA-ccqv-43vm-4f3w](https://github.com/advisories/GHSA-ccqv-43vm-4f3w)
- [CVE.org record CVE-2024-39931](https://www.cve.org/CVERecord?id=CVE-2024-39931)
- [NVD entry CVE-2024-39931](https://nvd.nist.gov/vuln/detail/CVE-2024-39931)
- [github.com](https://github.com/gogs/gogs/releases)
- [sonarsource.com](https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/)
- [github.com](https://github.com/gogs/gogs/security/advisories/GHSA-ccqv-43vm-4f3w)

---
Source page: https://erroneo.us/security/cve/CVE-2024-39931/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
