CVE-2026-52812
HIGH 7.1CVSS 4.0Gogs: LFS dedupe path leaks private repo content across tenants
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.
- Published
- 24 Jun 2026
- Last modified
- 21 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-345CWE-639CWE-862
- Also known as
- GHSA-6p9m-q3jp-47h4GO-2026-5184
- Sources
- NVDJSONOSV GHSA-6p9m-q3jp-47h4JSONOSV GO-2026-5184JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | gogs.io/gogs | < 0.14.3 | 0.14.3 |
| OSV | Go | gogs.io/gogs | all versions |
References
- https://github.com/gogs/gogs/commit/f35a767af74e05342bafc6fdda02c791816426f8 · WEB
- https://github.com/gogs/gogs/pull/8333 · WEB
- https://github.com/gogs/gogs/releases/tag/v0.14.3 · WEB
- https://github.com/gogs/gogs/security/advisories/GHSA-6p9m-q3jp-47h4 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-52812 · ADVISORY
- https://github.com/gogs/gogs · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2026)