Skip to content
Vulnerability Intelligence

CVE-2024-39931

Critical

Gogs 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
ProductAffected versionsFixed in
GogsGogsSee advisory0.13.0
github.com/gogs/gogsgoSee advisoryn/a
gogs.io/gogsgoSee advisory0.13.1

Patched Releases

Gogs

<=0.13.0

gogs.io/gogs

0.13.1

Timeline

  1. Publicly disclosed

    Dec 23, 2024

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-552 Files or Directories Accessible to External Parties

References

4 more references in the full CVE brief

FAQ

Common Questions.

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