CVE-2026-25921
Gogs: Cross-repository LFS object overwrite via missing content hash verification
Reported by github_m · Published March 5, 2026
gogs.io/gogs is fixed in 0.14.2 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gogs.io/gogs | Go Modules | 0.14.2 |
| gogs | gogs | 0.14.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.14.2 |
| gogs.io | gogs | 0 |
| gogs | gogs | 0 |
Timeline
- Mar 5, 2026 CVE Published
- Mar 5, 2026 PoC Published (3 in total, the first dated here)
- Mar 6, 2026 EPSS Score (30 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 24, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-25921
vulnetix vdb fixes CVE-2026-25921
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-25921/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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
- https://nvd.nist.gov/vuln/detail/CVE-2026-25921 advisory
- https://github.com/advisories/GHSA-cj4v-437j-jq4c advisory
- https://github.com/gogs/gogs url