CVE-2026-25921 Details
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.
A vulnerability in Gogs, prior to version 0.14.2, allows for overwriting Git Large File Storage (LFS) objects across different repositories. This issue arises because all LFS objects are stored in a single location without repository isolation, and uploaded files are not verified against their SHA-256 hashes. As a result, attackers can manipulate LFS files, potentially injecting malicious content. This vulnerability could be exploited to conduct supply-chain attacks, as there are no warnings when downloaded LFS objects have been tampered with.
Users can update to Gogs version 0.14.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c | [email protected] | Patch |
| https://github.com/gogs/gogs/pull/8166 | [email protected] | Issue Tracking |
| https://github.com/gogs/gogs/releases/tag/v0.14.2 | [email protected] | Release Notes |
| https://github.com/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gogs gogs | < 0.14.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 6, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | New CVE Received | [email protected] |