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.
CVE-2026-52806
This critical-severity CVE scores 9.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 1.0%, top 40% 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
- 9.9
- EG Score
- 9.9(medium)
- EPSS
- 59.5%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
June 26, 2026
Advisory Details (4)
Auto-updated Jul 4, 2026RCE via git rebase --exec argument injection in pull request merge · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr90.14.3
Patch available: gogs/gogs v0.14.3
https://github.com/gogs/gogs/releases/tag/v0.14.3security: fix argument injection in pull request merge (rebase)
Fix merged in gogs/gogs PR #8301 on 2026-06-06 — awaiting tagged release
https://github.com/gogs/gogs/pull/8301commit a9dbafbfd8e1 (gogs/gogs)
Fix landed in gogs/gogs commit a9dbafbfd8e1 — awaiting tagged release
https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364Vendor Advisories for CVE-2026-52806(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 47× in last 7d / 89× 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-07 03:06 UTCEG score recompute
- 2026-07-06 22:53 UTCEG score recompute
- 2026-07-06 18:42 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 13:59 UTCEG score recompute
- 2026-07-06 09:48 UTCEG score recompute
- 2026-07-06 05:36 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 01:26 UTCEG score recompute
- 2026-07-05 21:16 UTCEG score recompute
- 2026-07-05 17:06 UTCEG score recompute
- 2026-07-05 12:53 UTCEG score recompute
- 2026-07-05 08:41 UTCEG score recompute
- 2026-07-05 04:31 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:13 UTCEG score recompute
- 2026-07-04 20:01 UTCEG score recompute
- 2026-07-04 15:50 UTCEG score recompute
- 2026-07-04 11:40 UTCEG score recompute
- 2026-07-04 07:30 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:59 UTCEG score recompute
- 2026-07-03 22:41 UTCEG score recompute
- 2026-07-03 18:31 UTCEG score recompute
Show 64 moreShow fewer
- 2026-07-03 14:20 UTCEG score recompute
- 2026-07-03 10:11 UTCEG score recompute
- 2026-07-03 06:00 UTCEG score recompute
- 2026-07-03 01:49 UTCEG score recompute
- 2026-07-02 21:39 UTCEG score recompute
- 2026-07-02 17:30 UTCEG score recompute
- 2026-07-02 13:18 UTCEG score recompute
- 2026-07-02 09:08 UTCEG score recompute
- 2026-07-02 04:59 UTCEG score recompute
- 2026-07-02 00:49 UTCEG score recompute
- 2026-07-01 20:40 UTCEG score recompute
- 2026-07-01 16:30 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 12:18 UTCEG score recompute
- 2026-07-01 08:06 UTCEG score recompute
- 2026-07-01 03:56 UTCEG score recompute
- 2026-06-30 23:46 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 19:22 UTCEG score recompute
- 2026-06-30 15:12 UTCEG score recompute
- 2026-06-30 10:57 UTCEG score recompute
- 2026-06-30 06:45 UTCEG score recompute
- 2026-06-30 02:34 UTCEG score recompute
- 2026-06-29 22:24 UTCEG score recompute
- 2026-06-29 18:15 UTCEG score recompute
- 2026-06-29 14:04 UTCEG score recompute
- 2026-06-29 09:54 UTCEG score recompute
- 2026-06-29 05:44 UTCEG score recompute
- 2026-06-29 01:32 UTCEG score recompute
- 2026-06-28 21:22 UTCEG score recompute
- 2026-06-28 17:13 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 13:02 UTCEG score recompute
- 2026-06-28 08:53 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:44 UTCEG score recompute
- 2026-06-28 00:34 UTCEG score recompute
- 2026-06-27 20:24 UTCEG score recompute
- 2026-06-27 16:14 UTCEG score recompute
- 2026-06-27 12:04 UTCEG score recompute
- 2026-06-27 07:55 UTCEG score recompute
- 2026-06-27 03:45 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 23:35 UTCEG score recompute
- 2026-06-26 19:25 UTCEG score recompute
- 2026-06-26 15:15 UTCEG score recompute
- 2026-06-26 11:05 UTCEG score recompute
- 2026-06-26 04:39 UTCEG score recompute
- 2026-06-26 00:28 UTCEG score recompute
- 2026-06-25 20:18 UTCEG score recompute
- 2026-06-25 16:08 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 11:58 UTCEG score recompute
- 2026-06-25 07:49 UTCEG score recompute
- 2026-06-25 03:39 UTCEG score recompute
- 2026-06-24 23:29 UTCEG score recompute
- 2026-06-24 19:19 UTCEG score recompute
- 2026-06-24 14:19 UTCEG score recompute
- 2026-06-24 10:10 UTCEG score recompute
- 2026-06-24 05:58 UTCEG score recompute
- 2026-06-24 01:43 UTCEG score recompute
- 2026-06-23 21:33 UTCEG score recompute
- 2026-06-23 17:22 UTCEG score recompute
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCportbuster1337/CVE-2026-52806First seen May 28, 2026
Gogs RCE via argument injection in git rebase (CWE-88) — Python PoC. CVE-2026-52806
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-77
- CVE-2016-15057EG 9.9CRITICAL
- CVE-2014-5470EG 9.8EPSS 95%CRITICAL
- CVE-2013-2513EG 9.8CRITICAL
- CVE-2015-20108EG 9.8CRITICAL
- CVE-2015-10096NVD 5.0EG 9.8MEDIUM
- CVE-2017-20156NVD 5.5EG 9.8MEDIUM
- CVE-2016-20017EG 9.8 KEVEPSS 99%CRITICAL
- CVE-2016-4991EG 9.8CRITICAL
- CVE-2015-20107NVD 7.6EG 9.8EPSS 93%HIGH
- CVE-2014-4982EG 9.8EPSS 90%CRITICAL
Frequently asked(5)
What is CVE-2026-52806?
When was CVE-2026-52806 disclosed?
Is CVE-2026-52806 actively exploited?
What is the CVSS score of CVE-2026-52806?
How do I remediate CVE-2026-52806?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-52806
Is Your Infrastructure Affected by CVE-2026-52806?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.