Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the user to bypass the target directory and write the result of the comparison to any arbitrary path. This vulnerability is fixed in 0.14.0.
CVE-2026-52797
This high-severity CVE scores 8.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 73% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.5
- EG Score
- 8.5(medium)
- EPSS
- 27.0%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
June 25, 2026
Advisory Details (1)
Auto-updated Jun 24, 2026Overwriting critical files results in a denial of service · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-pm6v-2h4w-4rp2Vendor Advisories for CVE-2026-52797(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| gogs.io/gogs | — | 0.14.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 56× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 22:55 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 21:19 UTCEG score recompute
- 2026-07-05 10:16 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 23:01 UTCEG score recompute
- 2026-07-04 11:57 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:53 UTCEG score recompute
- 2026-07-03 13:43 UTCEG score recompute
- 2026-07-02 23:34 UTCEG score recompute
- 2026-07-02 12:31 UTCEG score recompute
- 2026-07-02 01:26 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 14:20 UTCEG score recompute
- 2026-07-01 03:17 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 16:13 UTCEG score recompute
- 2026-06-30 05:00 UTCEG score recompute
- 2026-06-29 17:34 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 06:15 UTCEG score recompute
Show 31 moreShow fewer
- 2026-06-28 19:08 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:04 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 20:59 UTCEG score recompute
- 2026-06-27 09:56 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 22:52 UTCEG score recompute
- 2026-06-26 11:48 UTCEG score recompute
- 2026-06-25 18:59 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 07:55 UTCEG score recompute
- 2026-06-24 20:50 UTCEG score recompute
- 2026-06-24 09:46 UTCEG score recompute
- 2026-06-23 22:38 UTCEG score recompute
- 2026-06-23 11:35 UTCEG score recompute
- 2026-06-23 00:31 UTCEG score recompute
- 2026-06-22 13:25 UTCEG score recompute
- 2026-06-22 02:21 UTCEG score recompute
- 2026-06-21 14:45 UTCEG score recompute
- 2026-06-21 03:39 UTCEG score recompute
- 2026-06-20 16:35 UTCEG score recompute
- 2026-06-20 05:25 UTCEG score recompute
- 2026-06-19 18:17 UTCEG score recompute
- 2026-06-19 07:10 UTCEG score recompute
- 2026-06-18 20:02 UTCEG score recompute
- 2026-06-18 08:59 UTCEG score recompute
- 2026-06-17 21:51 UTCEG score recompute
- 2026-06-17 10:47 UTCEG score recompute
- 2026-06-16 23:44 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-52797?
When was CVE-2026-52797 disclosed?
Is CVE-2026-52797 actively exploited?
What is the CVSS score of CVE-2026-52797?
How do I remediate CVE-2026-52797?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-52797
Is Your Infrastructure Affected by CVE-2026-52797?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.