High severity · published Jun 24, 2026
CVE-2026-52812
Gogs: LFS dedupe path leaks private repo content across tenants
7.1
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
gogs · gogs
< 0.14.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-52812
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-52812
github.com
https://github.com/gogs/gogs/commit/f35a767af74e05342bafc6fdda02c791816426f8
github.com
https://github.com/gogs/gogs/pull/8333
github.com
https://github.com/gogs/gogs/releases/tag/v0.14.3
github.com
https://github.com/gogs/gogs/security/advisories/GHSA-6p9m-q3jp-47h4
More from gogs
8.8
CVE-2025-8110
File overwrite in file update API in Gogs
10.0
CVE-2026-52813
Gogs: Path Traversal in organization name results in RCE through Git hooks
9.9
CVE-2026-52806
Gogs: RCE via git rebase --exec argument injection in pull request merge
9.9
CVE-2024-39932
Gogs through 0.13.0 allows argument injection during the previewing of changes
9.9
CVE-2024-39931
Gogs through 0.13.0 allows deletion of internal files
