Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364
- https://github.com/gogs/gogs/pull/8301
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9
- https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9
FAQ
What is CVE-2026-52806?
CVE-2026-52806 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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 crafte...
How severe is CVE-2026-52806?
CVE-2026-52806 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-52806?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.