CVE-2026-52806: Gogs vulnerable to RCE via git rebase --exec argument injection in pull request merge
(updated )
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
Code Behaviors & Features
Detect and mitigate CVE-2026-52806 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →