7.1
HIGH CVSS 4.0
CVE-2026-52812
Gogs: LFS dedupe path leaks private repo content across tenants
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.

INFO

Published Date :

June 24, 2026, 9:16 p.m.

Last Modified :

June 26, 2026, 12:16 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-52812 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gogs gogs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 HIGH [email protected]
Solution
Update Gogs to version 0.14.3 or later to fix LFS authorization vulnerability.
  • Update Gogs to version 0.14.3 or later.
  • Verify LFS file integrity checks.
  • Restrict write access to repositories.
Public PoC/Exploit Available at Github

CVE-2026-52812 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52812 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A collection of my CVE's and advisories

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 7, 2026, 11:41 a.m. This repo has been linked 15 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52812 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52812 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 26, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/gogs/gogs/security/advisories/GHSA-6p9m-q3jp-47h4
    Added SSVC {'id': 'CVE-2026-52812', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-25T23:03:11.981996Z'}
  • New CVE Received by [email protected]

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'gogs', 'product': 'gogs', 'versions': [{'status': 'affected', 'version': '< 0.14.3'}]}]
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-345
    Added CWE CWE-639
    Added CWE CWE-862
    Added Reference https://github.com/gogs/gogs/commit/f35a767af74e05342bafc6fdda02c791816426f8
    Added Reference https://github.com/gogs/gogs/pull/8333
    Added Reference https://github.com/gogs/gogs/releases/tag/v0.14.3
    Added Reference https://github.com/gogs/gogs/security/advisories/GHSA-6p9m-q3jp-47h4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.