CVE-2026-25921Gogs
Critical 9.3 No auth needed
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 5, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Gogs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | gogs.io/gogs |
< 0.14.2 |
0.14.2 |
go get gogs.io/gogs@v0.14.2 |
| Go | gogs.io/gogs |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-cj4v-437j-jq4c, GO-2026-4616). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.14.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory