Vulnerability in Gogs
CVE-2024-56731
Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user a…
EPSS: 0.010 (56.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Gogs — versions < 0.13.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2024-56731?
- CVE-2024-56731 is a critical-severity vulnerability in Gogs, classified under Files or Directories Accessible to External Parties. CVSS score: 10.0/10. Published 2025-06-24.
- How severe is CVE-2024-56731?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2024-56731 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.