Skip to main content
← All vulnerabilities
CVE-2026-52806GO-2026-5580GHSA-QF6P-P7WW-CWR9

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.3
1 Metasploit module, 1 proof of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.3

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.3

References 7

GitHub · gogs/gogs

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · portbuster1337/CVE-2026-52806