{"id":"CVE-2026-52806","aliases":["GHSA-qf6p-p7ww-cwr9","GO-2026-5580"],"url":"https://o3.security/vulnerability/CVE-2026-52806","summary":"Gogs: RCE via git rebase --exec argument injection in pull request merge","details":"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.","published":"2026-06-24T20:21:07.650Z","modified":"2026-08-12T03:51:44.808274265Z","cvss":{"score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":{"score":0.01464,"percentile":0.71206,"asOf":"2026-08-11"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.14.3"}],"fix":{"url":"https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364","label":"gogs/gogs@a9dbafb"},"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52806.json"},{"type":"ADVISORY","url":"https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52806"},{"type":"FIX","url":"https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364"},{"type":"FIX","url":"https://github.com/gogs/gogs/pull/8301"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:44.808274265Z"}}