CVE-2026-52806
Critical
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.
SeverityCritical
CVSS9.9
Exploit probability—
ProductGogs.io/gogs
PublishedJun 24, 2026
First seenJun 24, 2026
Weakness typeCWE-77Command injection
How to fix
Update
- gogs.io/gogs0.14.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs.io/gogsGo | v < 0.14.3, No range specified | 0.14.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.