{"id":"CVE-2026-52812","published":"2026-06-24T20:32:51Z","modified":"2026-06-25T23:03:37Z","title":"Gogs: LFS dedupe path leaks private repo content across tenants","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00316,"percentile":0.24996,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-6p9m-q3jp-47h4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8333","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/f35a767af74e05342bafc6fdda02c791816426f8","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.0},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-25T23:03:11.981996Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-6p9m-q3jp-47h4","GO-2026-5184"],"provenance":"source"}],"summary":{"text":"Gogs versions before 0.14.3 contain a flaw in the Git LFS upload handling (serveUpload), where stored objects are identified only by their content hash while authorization is tracked per repository. An attacker with write access to a single repository on the server, and no additional privileges, can register a claimed hash that matches a private repository's stored file, which lets them download that file's original contents through their own repository's download endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:35Z"},"euvd":{"id":"EUVD-2026-39083","exploited":false,"provenance":"source"}}