CVE-2026-52806CWE-77

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

Critical · published June 24, 2026

CVSS v3.1
9.9
EPSS
8%
Percentile
94.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.07934 · 94.7th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2026-06-24T20:21Z
EPSS history
Timeline
  • 24 JUN 20:21Z
    Gogs: RCE via git rebase --exec argument injection in pull request merge
    cvelistv5