Gogs <= 0.14.2 - Authenticated RCE via git rebase Argument Injection
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. References: https://www.cve.org/CVERecord?id=CVE-2026-52806 https://github.com/portbuster1337/CVE-2026-52806 https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gogs_rebase_rce.rb Remediation: This vulnerability is fixed in 0.14.3.
url