Aaif-goose goose
goose 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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
aaif-goose goose
- >= 1.35.0, < 1.53.0
Fixed in 1.53.0
Mitigation
Upgrade goose to 1.53.0 or later.
References
- Patch github.com/aaif-goose/goose/commit/3fbea00fd44…
- Patch github.com/aaif-goose/goose/pull/12537
- Patch github.com/aaif-goose/goose/pull/13469
1 more
- Release notes github.com/aaif-goose/goose/releases/tag/v1.53…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.