CVE-2026-25921 Gogs: Cross-repository LFS object overwrite via missing content hash verification
CriticalCVSS 9.3
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs.io/gogs(Go) | < 0.14.2; <= 0.14.1; All versions | 0.14.2 | Partially fixed |
| gogs | < 0.14.2; = < 0.14.2 | 0.14.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs.io/gogs(Go) | < 0.14.2 | 0.14.2 |
| gogs.io/gogs(Go) | All versions | No fix listed |
| gogs | = < 0.14.2 | No fix listed |
| gogs.io/gogs(Go) | <= 0.14.1 | No fix listed |
| gogs | < 0.14.2 | 0.14.2 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gogs/gogs/pull/8166 issue-tracking patch
- https://github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c patch
- github.com product
- https://github.com/gogs/gogs/releases/tag/v0.14.2 release-notes
- github.com