# CVE-2026-25921: Gogs: Cross-repository LFS object overwrite via missing content hash verification

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-05T18:36:30.692Z
- Modified: 2026-06-17T10:25:25.817Z
- Also known as: GHSA-cj4v-437j-jq4c, GO-2026-4616
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.2; before 0.14.2
- gogs.io/gogs (Go): before 0.14.2; all versions

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 9.3 Critical `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> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/gogs/gogs/pull/8166> (issue-tracking, web)
- <https://github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c> (patch, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25921> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-25921](https://www.cve.org/CVERecord?id=CVE-2026-25921), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-cj4v-437j-jq4c](https://github.com/advisories/GHSA-cj4v-437j-jq4c), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4616](https://pkg.go.dev/vuln/GO-2026-4616), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-25921](https://nvd.nist.gov/vuln/detail/CVE-2026-25921), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25921 · Whole record: https://cve.day/CVE-2026-25921.json · Rebuilt by cve.day 2026-11-25T22:59:15.321Z
