CVE-2026-52806

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.

Severity
CRITICAL
CVSS v3
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
7.934%
chance of exploitation in the next 30 days
higher than 94.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 1

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-06-25

Timeline

  1. 2026-06-23GitHub advisory published (GHSA-qf6p-p7ww-cwr9)1 day before publication
  2. 2026-06-24Published by the CNA20:21 UTC
  3. 2026-06-25CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-qf6p-p7ww-cwr9, affected packages:

PackageVulnerable versionsFixed in
Go gogs.io/gogsbefore 0.14.30.14.3

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gogs gogs

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources