Vulnerability · Published Mar 5, 2026 · Assigned by GitHub_M
CVE-2026-25921Gogs: Cross-repository LFS object overwrite via missing content hash verification
Critical 9.3
In plain English
A critical-severity insufficient verification of data authenticity in gogs from gogs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.3Critical
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, overwritable LFS object across different repos leads to supply-chain attack, all LFS objects are vulnerable to be maliciously overwritten by malicious attackers. This issue has been patched in version 0.14.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.14.2 | GHSA-cj4v-437j-jq4c |
| Go | gogs.io/gogs | no fix listed | GO-2026-4616 |
Affected products (as reported)
Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
References
- https://github.com/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8166 x_refsource_MISC
- https://github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.2 x_refsource_MISC