PoC Monitor
← All CVEs
CVE-2026-52806published 24 Jun 2026 20:21 UTCData: JSON · API

Gogs

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

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.

First public PoC 16 daysafter publication · 10 Jul 2026 · Metasploit
Public PoCs20 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.9critical · scored by CNA · CWE-77
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gogs gogs
  • < 0.14.3

Fixed in 0.14.3

Timeline

Days relative to CVE publication
-3t=0+3+6+9+12+15CVE published24 Jun 2026 · t = 0First public PoC10 Jul 2026 · t+16d

First public PoC 16 days after publication; not in CISA KEV. First PoC: Metasploit exploit: Gogs Git Rebase Argument Injection RCE (exploit/multi/http/gogs_rebase_rce) (Metasploit, 10 Jul 2026).

PoC repositories

Found on GitHub.

No PoC repositories found yet.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.