{"id":"CVE-2026-129128","kind":"vulnerability","aliases":["CVE-2026-129128"],"related":[],"title":"Goose CLI: crafted repository runs commands when a developer runs review","description":"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.","summary":"Goose CLI versions 1.35.0 before 1.53.0 run git diff without --no-ext-diff, so a repository's diff.external setting in .git/config executes attacker commands. Running goose review on a crafted repository runs those commands as the user and exposes credentials and provider API keys.","severity":"high","cvss":8.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ai-coding-agent","ai-tooling","developers","git","goose-cli"],"not_affected_if":["goose-version-1.53.0-or-later","no-goose-review-on-untrusted-repos"],"how_to_check":"- Check the installed Goose CLI version with `goose --version` and compare it against `1.53.0`.\n- Review the affected flow: any use of `goose review` on repositories from untrusted sources.","fix":"- Goose CLI: upgrade to `1.53.0` or later.","status":"open","published_at":"2026-11-13T17:17:30+00:00","first_seen_at":"2026-11-13T17:48:01+00:00","triaged_at":"2026-11-13T17:48:46+00:00","updated_at":"2026-11-13T17:48:46+00:00","category":"ai-tooling","confidence":0.8,"triage":{"at":"2026-11-13T17:48:46Z","model":"claude-haiku-5-5","output":{"fix":"- Goose CLI: upgrade to `1.53.0` or later.","reach":"local","title":"Goose CLI: crafted repository runs commands when a developer runs review","impact":"high","summary":"Goose CLI versions 1.35.0 before 1.53.0 run git diff without --no-ext-diff, so a repository's diff.external setting in .git/config executes attacker commands. Running goose review on a crafted repository runs those commands as the user and exposes credentials and provider API keys.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["goose-cli","git","developers","ai-coding-agent"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Commands run as the user and credentials and API keys are exposed","analyst_note":"","how_to_check":"- Check the installed Goose CLI version with `goose --version` and compare it against `1.53.0`.\n- Review the affected flow: any use of `goose review` on repositories from untrusted sources.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["goose-version-1.53.0-or-later","no-goose-review-on-untrusted-repos"],"who_is_affected":"Developers who run the Goose CLI, specifically goose review, on repositories they did not write or do not trust. The malicious setting lives in the repository's .git/config, so cloning or opening an untrusted repo is the entry point. Teams that only run Goose on their own trusted repositories are at lower risk but should still upgrade.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000743,"input_tokens":4627,"output_tokens":561,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-129128':14A,17A '-2026':13A,16A '1.35.0':33B,77C '1.53.0':35B,79C 'agent':21B 'ai':19B,23B 'ai-coding-ag':18B 'ai-tool':22B 'allow':87C 'api':73B,131C 'attack':53B,88C,100C 'cli':2A,29B,31B,76C 'code':20B,83C 'command':6A,54B,64B,91C,122C 'contain':80C 'craft':3A,60B,104C 'credenti':70B,128C 'cve':12A,15A 'develop':9A,25B 'diff':38B,43B,115C,120C 'diff.external':48B,94C 'execut':52B,84C,113C 'expos':69B,127C 'ext':42B,119C 'git':26B,37B,114C 'git/config':51B,99C 'goos':1A,28B,30B,56B,75C,111C 'goose-c':27B 'key':74B,132C 'local':82C 'no-ext-diff':40B,117C 'provid':72B,130C 'repositori':4A,46B,61B,97C,105C 'review':11A,57B,112C 'run':5A,10A,36B,55B,62B,90C,110C,121C 'set':49B,93C 'ship':102C 'tool':24B 'user':67B,125C 'version':32B 'victim':109C 'vulner':85C 'without':39B,116C","nicknames":[],"mitigations":[],"who_affected":"Developers who run the Goose CLI, specifically goose review, on repositories they did not write or do not trust. The malicious setting lives in the repository's .git/config, so cloning or opening an untrusted repo is the entry point. Teams that only run Goose on their own trusted repositories are at lower risk but should still upgrade.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["aicodingagent","aitooling","developers","git","goosecli","high"],"campaign_type":null,"search_a":"'-129128':14A,17A '-2026':13A,16A 'cli':2A 'command':6A 'craft':3A 'cve':12A,15A 'develop':9A 'goos':1A 'repositori':4A 'review':11A 'run':5A,10A","search_b":"'1.35.0':33B '1.53.0':35B 'agent':21B 'ai':19B,23B 'ai-coding-ag':18B 'ai-tool':22B 'api':73B 'attack':53B 'cli':29B,31B 'code':20B 'command':54B,64B 'craft':60B 'credenti':70B 'develop':25B 'diff':38B,43B 'diff.external':48B 'execut':52B 'expos':69B 'ext':42B 'git':26B,37B 'git/config':51B 'goos':28B,30B,56B 'goose-c':27B 'key':74B 'no-ext-diff':40B 'provid':72B 'repositori':46B,61B 'review':57B 'run':36B,55B,62B 'set':49B 'tool':24B 'user':67B 'version':32B 'without':39B","search_c":"'1.35.0':77C '1.53.0':79C 'allow':87C 'api':131C 'attack':88C,100C 'cli':76C 'code':83C 'command':91C,122C 'contain':80C 'craft':104C 'credenti':128C 'diff':115C,120C 'diff.external':94C 'execut':84C,113C 'expos':127C 'ext':119C 'git':114C 'git/config':99C 'goos':75C,111C 'key':132C 'local':82C 'no-ext-diff':117C 'provid':130C 'repositori':97C,105C 'review':112C 'run':90C,110C,121C 'set':93C 'ship':102C 'user':125C 'victim':109C 'vulner':85C 'without':116C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-13T17:17:30+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129128","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129128","severity":null,"published_at":"2026-11-13T17:17:30+00:00","modified_at":"2026-11-13T17:17:30+00:00","first_seen_at":"2026-11-13T17:48:01+00:00","fetched_at":"2026-11-13T17:48:01+00:00","note":null}],"documents":[{"id":148123,"url":"https://github.com/aaif-goose/goose/commit/3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":148124,"url":"https://github.com/aaif-goose/goose/releases/tag/v1.53.0","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":148125,"url":"https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}