{"id":"CVE-2026-129128","summary":"goose CLI 1.35.0 before 1.53.0 Command Execution via goose review diff.external","details":"Goose CLI 1.35.0 before 1.53.0 contains a local code execution vulnerability that allows attackers to run commands by setting diff.external in a repository's .git/config. Attackers can ship a crafted repository that, when the victim runs goose review, executes git diff without --no-ext-diff, running commands as the user and exposing credentials and provider API keys.","modified":"2026-11-15T02:46:42.354104452Z","published":"2026-11-13T16:23:39.517Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129128.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129128.json"},{"type":"ADVISORY","url":"https://github.com/aaif-goose/goose/releases/tag/v1.53.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129128"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external"},{"type":"REPORT","url":"https://github.com/aaif-goose/goose/issues/12960"},{"type":"FIX","url":"https://github.com/aaif-goose/goose/commit/3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9"},{"type":"FIX","url":"https://github.com/aaif-goose/goose/pull/12537"},{"type":"FIX","url":"https://github.com/aaif-goose/goose/pull/13469"},{"type":"PACKAGE","url":"https://github.com/aaif-goose/goose"},{"type":"ARTICLE","url":"https://github.com/aaif-goose/goose/blob/302b60806639ea9f0ae8f053f49f8bf0e88b26f4/crates/goose-cli/src/commands/review/handler.rs#L400"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aaif-goose/goose","events":[{"introduced":"be66b3d10573baea5ab69798c1bdf3d028a08695"},{"fixed":"76da81cb964b21cd096db739302329b40c2998b8"},{"fixed":"3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.35.0"},{"fixed":"1.53.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9"}]},{"range":[{"fixed":"76da81cb964b21cd096db739302329b40c2998b8"}],"source":"REFERENCES_TAG","original_tag":"v1.53.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129128.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}