CVE-2026-129128goose CLI 1.35.0 before 1.53.0 Command Execution via goose review diff.external
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- aaif-goose goose: affected: 1.35.0 to before 1.53.0; fixed in
1.53.0
Vendor advisories:
- https://github.com/aaif-goose/goose/commit/3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9 (patch)
- https://github.com/aaif-goose/goose/pull/12537 (patch)
- https://github.com/aaif-goose/goose/pull/13469 (patch)
- https://github.com/aaif-goose/goose/releases/tag/v1.53.0 (release-notes)
References
- https://github.com/aaif-goose/goose/issues/12960
- https://github.com/aaif-goose/goose
- https://github.com/aaif-goose/goose/commit/3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9
- https://github.com/aaif-goose/goose/pull/12537
- https://github.com/aaif-goose/goose/pull/13469
- https://github.com/aaif-goose/goose/releases/tag/v1.53.0
- https://github.com/aaif-goose/goose/blob/302b60806639ea9f0ae8f053f49f8bf0e88b26f4/crates/goose-cli/src/commands/review/handler.rs#L400
- https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.