{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52806: Gogs: RCE via git rebase --exec argument injection in pull request merge","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52806","status":"final","version":"1","initial_release_date":"2026-06-24T20:21:07.650Z","current_release_date":"2026-06-24T20:21:07.650Z","revision_history":[{"date":"2026-06-24T20:21:07.650Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52806 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52806"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52806"},{"category":"external","summary":"https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9","url":"https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9"},{"category":"external","summary":"https://github.com/gogs/gogs/pull/8301","url":"https://github.com/gogs/gogs/pull/8301"},{"category":"external","summary":"https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364","url":"https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364"},{"category":"external","summary":"https://github.com/gogs/gogs/releases/tag/v0.14.3","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}]},"product_tree":{"branches":[{"category":"vendor","name":"gogs","branches":[{"category":"product_name","name":"gogs","branches":[{"category":"product_version","name":"< 0.14.3","product":{"name":"gogs gogs < 0.14.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:gogs:gogs:\\<_0.14.3:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52806","title":"Gogs: RCE via git rebase --exec argument injection in pull request merge","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}