Read the docs

Command execution in goose CLI via git config diff.external

Priority LOW 37CWE-78Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00149 4th percentileScored 2026-11-16
Fix Fixed goose (aaif-goose): 1.53.0

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

VendorProductAffected versionsFixed inStatusSource
aaif-goosegoose1.35.0 to before 1.53.01.53.0Patch availableCNA
  • 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

  1. 2026-11-13 Threatist record created from CVE-2026-129128
  2. 2026-11-13 Alias added: GHSA-m867-2v3c-r239
  3. 2026-11-16 CISA SSVC decision points changed

References

  • 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