CVE-2026-52812
Gogs: LFS dedupe path leaks private repo content across tenants
Also known as GHSA-6p9m-q3jp-47h4, GO-2026-5184
Mitigation
- Upgrade gogs.io/gogs to 0.14.3 or later.
Who should check
- Projects that depend on Go package gogs.io/gogs (< 0.14.3)
- Anyone running gogs < 0.14.3
Vulnerability facts
- Affected
- gogs.io/gogs < 0.14.3
- Fixed in
- 0.14.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-345, CWE-639, CWE-862
- Modified
Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git LFS storage is content-addressed by OID alone (<LFS-root>/<oid[0]>/<oid[1]>/<oid>) but per-repo authorization lives in the lfs_object table keyed (repo_id, oid). serveUpload skips re-uploading when the OID file already exists on disk and inserts a new (repo_id, oid) row pointing at it without verifying the request body hashes to the OID being claimed. Any user with write access to one repo can bind their repo to an OID owned by a private repo and download the original bytes via their own download endpoint. This vulnerability is fixed in 0.14.3.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go gogs.io/gogs | < 0.14.3 | 0.14.3 | osv |
| gogs | < 0.14.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-52812. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-52812.md Affected: gogs.io/gogs < 0.14.3 Fixed in: 0.14.3 Steps: 1. Search this machine and project for gogs.io/gogs (Go), gogs: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-52812 being exploited?
There is no confirmed exploitation: CVE-2026-52812 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-52812?
High: CVSS 7.1 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-52812?
gogs.io/gogs < 0.14.3.
Is there a fix for CVE-2026-52812?
Yes. Fixed in 0.14.3. Upgrade gogs.io/gogs to 0.14.3 or later.
How do I check if I'm affected by CVE-2026-52812?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.