CVE-2026-25921: Vulnerability in Gogs
Critical. Overwritable LFS object across different repos leads to supply-chain attack, all LFS objects are vulnerable to be maliciously overwritten by malicious attackers.
Go, CWE-345
- Exploitation
- None confirmed
- Severity
- 9.3 of 10
- Attack likelihood
- 0.3 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-cj4v-437j-jq4c
- EU ID
- EUVD-2026-9850
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
- Weakness
- CWE-345
- Published
- 5 Mar 2026
- Last change
- 17 Jun 2026
- Likelihood rank
- Higher than 17 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Gogs Before 0.14.2. Fixed in 0.14.2
Affected packages
Vulnerable version ranges and fixed releases
- gogs.io/gogs Go, Affected through 0.14.1. Fixed in 0.14.2
Patches and fixes
Updates, commits and release notes
- github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c
- github.com/gogs/gogs/pull/8166
- github.com/gogs/gogs/releases/tag/v0.14.2
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Gogs vulnerabilities Recent advisories, watch this product