Vulnerability · Published Mar 5, 2026 · Assigned by GitHub_M

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

Critical 9.3

In plain English

A critical-severity insufficient verification of data authenticity in gogs from gogs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.3Critical
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogogs.io/gogs0.14.2GHSA-cj4v-437j-jq4c
Gogogs.io/gogsno fix listedGO-2026-4616

Affected products (as reported)

VendorProductVersions
gogs gogs < 0.14.2

Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L

References