Command execution in goose CLI via git config diff.external
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
goose CLI from 1.35.0 before 1.53.0 by aaif-goose contains an OS command injection flaw (CWE-78). When a victim runs goose review, git diff executes the diff.external command set in the repository's .git/config. An attacker who ships a crafted repository can run commands as that user, exposing credentials and provider API keys.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| aaif-goose | goose | 1.35.0 to before 1.53.0 | 1.53.0 | Patch available | CNA |
- goose Vendoraaif-goose Affected 1.35.0 to before 1.53.0 Fixed in 1.53.0 Patch available CNA
Remediation
Upgrade goose CLI to version 1.53.0, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA goose (aaif-goose) Fixed in 1.53.0
Timeline
- 2026-11-13 Threatist record created from CVE-2026-129128
- 2026-11-13 Alias added: GHSA-m867-2v3c-r239
- 2026-11-16 CISA SSVC decision points changed
References
Patch 3
More aaif-goose vulnerabilities
- TI-2026-50953 goose: Arbitrary command execution in goose CLI via `goose review` via git core.fsmonitor CVSS 4.0HIGH 7.0
- TI-2026-58748 goose 1.37.0 Arbitrary Command Execution via Recipe Extensions CVSS 4.0HIGH 8.7
- TI-2026-71291 Manual approval bypass in goose via read-only tool annotations CVSS 4.0LOW 2.3
Sources
- CVE-2026-129128 · CVE Program
- CVE-2026-129128 · NVD
- FIRST EPSS
- GHSA-m867-2v3c-r239 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences