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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
gogs
oss-projectaka gogs/gogs
gogsOn-prem
DevTools & CI / ci-cdExploitability
No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Execution
References
https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9
github.com
https://github.com/gogs/gogs/pull/8301
github.com
https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364
github.com
and 1 more references View all →
News mentions
1Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-52806 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
