CVE-2026-25921 json
Gogs: Cross-repository LFS object overwrite via missing content hash verification
published 2026-03-05 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-9850 , GHSA-cj4v-437j-jq4c , GO-2026-4616
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gogs.io/gogs 0.14.2
- gogs gogs 0.14.2
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260317T205859-150000.1.152.1
suse advisories SUSE-SU-2026:1042-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/gogs/gogs@81ee883 commit
- github.com/gogs/gogs#8166 pull request
- github.com/gogs/gogs/releases/tag/v0.14.2 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.14.2 all versions |
0.14.2 |
Affected products
- gogs gogs
Classification
- Weakness
-
- CWE-345 Insufficient Verification of Data Authenticity
References
-
github.com
/gogs/gogs/pull/8166
web, issue-tracking
-
github.com
/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c
web, patch
-
github.com
/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c
web, exploit, mitigation, vendor-advisory, advisory
-
github.com
/gogs/gogs/releases/tag/v0.14.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25921
advisory
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2026-25921
- GitHub Advisory GHSA-cj4v-437j-jq4c
- NVD CVE-2026-25921
- OSV GO-2026-4616
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.