Skip to content
Emerging threatsCritical

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

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

    Jul 4, 2024

  2. Last updated

    Oct 28, 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 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

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.