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

Exploit code

Public exploits and proofs of concept, handle with care

Related