CVE-2026-25921

Critical

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.

SeverityCritical
CVSS9.3
Exploit probability—
ProductGogs
PublishedMar 5, 2026
First seenMar 5, 2026
Weakness typeCWE-345CWE-345

How to fix

Update
  • gogs gogs0.14.2 or later
  • gogs.io/gogs0.14.2 or later

Affected products

ProductAffected versionsFixed in
gogs gogsv < 0.14.20.14.2
gogs.io/gogsGov < 0.14.2, No range specified0.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.