Skip to content
CVE PROGRAM SOURCE RECORD9.9 Critical

CVE-2026-52806

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gogs gogs

  • < 0.14.3affected

References