What is CVE-2026-52806?
Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. This vulnerability is fixed in 0.14.3.
The record classifies CVE-2026-52806 under weakness class CWE-77. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 126 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 9.9 — CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS (FIRST)
- 7.9% probability of exploitation in the next 30 days, higher than 94.6% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-06-24, last modified 2026-06-26
Is CVE-2026-52806 being exploited?
Weaponised exploit code for CVE-2026-52806 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (http/cves/2026/CVE-2026-52806.yaml). It currently carries a trending score of 42 in the Threadlinqs vulnerability feed.
- trickest/cve (trickest)
Affected products and versions
- gogs: gogs
Affected software packages:
go:gogs.io/gogs— patched in 0.14.3
How to fix CVE-2026-52806
Fixed versions are recorded for 1 package: go:gogs.io/gogs 0.14.3. No vendor patch reference has been recorded for CVE-2026-52806 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-52806
1 tracked threat in the Threadlinqs corpus references CVE-2026-52806, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on .