CVE-2026-52806

published 24 Jun 2026 · updated 26 Jun 2026

Gogs: RCE via git rebase --exec argument injection in pull request merge

10.0CriticalCVSS 9.9EPSS 8%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GogsGogs<0.14.3

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gogs, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-52806 severity on Zeptric[![CVE-2026-52806](https://zeptric.io/badge/cve/CVE-2026-52806.svg)](https://zeptric.io/cve/CVE-2026-52806)