CVE-2024-39931
criticalpriority · attend · 58EPSS 0.527 · 99 %ileEURUUSEPSS · scored 2026-10-23
Gogs through 0.13.0 allows deletion of internal files.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-2vgj-3pvg-xh4wDuplicate Advisory: Gogs allows deletion of internal files2024-07-04ghsa · osvUS
# Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-ccqv-43vm-4f3w. This link is maintained to preserve external references. # Original Description Gogs through 0.13.0 allows deletion of internal files.
- GHSA-ccqv-43vm-4f3wGogs allows deletion of internal files2024-12-23ghsa · osvUS
### Impact Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the privileges of the account specified by `RUN_USER` in the configuration. It allows attackers to access and alter any users' code hosted on the same instance. ### Patches Deletion of `.git` files has been prohibited (https://github.com/gogs/gogs/pull/7870). Users should upgrade to 0.13.1 or the latest 0.14.0+dev. ### Workarounds No viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions. ### References https://www.cve.org/CVERecord?id=CVE-2024-39931
- GO-2024-2970Gogs allows deletion of internal files in github.com/gogs/gogs2024-07-09vendor · osvUS
Gogs allows deletion of internal files in github.com/gogs/gogs
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-39931/cnnvd
- https://github.com/gogs/gogs/releasescnnvd
- https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/cnnvd
- https://github.com/gogs/gogs/releasesenisa_euvd
- https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/enisa_euvd
- https://github.com/gogs/gogs/releasesRelease Notesnvd
- https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan