RCE in Gogs
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 f…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.016 (73.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Gogs — versions < 0.14.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-52806?
- CVE-2026-52806 is a critical-severity vulnerability in Gogs, classified under Command Injection. CVSS score: 9.9/10. Published 2026-06-24.
- How severe is CVE-2026-52806?
- Critical severity. CVSS v3 base score is 9.9 out of 10.
- Is CVE-2026-52806 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.