ADVISORIES

Vulnerability

CVE-2026-52806

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.

3 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-qf6p-p7ww-cwr9

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

    Critical CVE-2026-52806 Go Updated 21 July 2026
  • GO-2026-5580

    Gogs vulnerable to RCE via git rebase --exec argument injection in pull request merge in gogs.io/gogs

    CVE-2026-52806 Go Updated 25 June 2026

References