CVE-2026-52806
CriticalExploitedPublic exploitGogs vulnerable to RCE via git rebase --exec argument injection in pull request merge
Published Jun 23, 2026 · Updated Aug 12, 2026 · Also known as EUVD-2026-39073, GHSA-qf6p-p7ww-cwr9, GO-2026-5580
Key Facts
Patch immediately- CVE-2026-52806 is a critical-severity vulnerability (CVSS 9.9 v3.1) affecting gogs.io/gogs, gogs.
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Jun 28, 2026. Public exploit code is available.
- EPSS estimates a 7.9% probability of exploitation in the next 30 days.
- Fixed versions are available, including gogs 0.14.3, gogs.io/gogs 0.14.3.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
7.9%
Higher than 94.6% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2026-52806 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jun 28, 2026 | n/a | Not reported |
| CIRCL KEV | Aug 17, 2026 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| gogs.io/gogsgo | See advisory | 0.14.3 |
| gogs | See advisory | 0.14.3 |
Patched Releases
gogs
0.14.3
gogs.io/gogs
0.14.3
Timeline
Publicly disclosed
Jun 23, 2026
Added to Industry KEV feed
Jun 28, 2026
Last updated
Aug 12, 2026
Added to CIRCL KEV
Aug 17, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52806.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-52806
- exploitMSF gogs_rebase_rce.rb
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Gogs is an open source self-hosted Git service.
Affected: gogs.io/gogs; gogs. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Jun 28, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including gogs 0.14.3, gogs.io/gogs 0.14.3.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2026-52806 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo