# CVE-2026-129128: goose CLI 1.35.0 before 1.53.0 Command Execution via goose review diff.external

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **CWE:** CWE-78
- **Published:** 2026-11-13T16:23:39.517Z
- **Modified:** 2026-11-16T19:17:38.760Z

## Who should check

- Anyone running aaif-goose goose \>= 1.35.0, \< 1.53.0

## 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.

## Affected and fixed versions

- aaif-goose goose: \>= 1.35.0, \< 1.53.0 (cvelist)

## Mitigation

- Upgrade goose to 1.53.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-129128. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-129128.md
Affected: aaif-goose goose >= 1.35.0, < 1.53.0
Fixed in: aaif-goose goose 1.53.0

Steps:
1. Search this machine and project for aaif-goose goose: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-129128 being exploited?

There is no confirmed exploitation: CVE-2026-129128 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-129128?

High: CVSS 8.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-129128?

aaif-goose goose \>= 1.35.0, \< 1.53.0.

### Is there a fix for CVE-2026-129128?

Yes. Fixed in aaif-goose goose 1.53.0. Upgrade goose to 1.53.0 or later.

### How do I check if I'm affected by CVE-2026-129128?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- article: <https://github.com/aaif-goose/goose/blob/302b60806639ea9f0ae8f053f49f8bf0e88b26f4/crates/goose-cli/src/commands/review/handler.rs#L400>
- other: <https://github.com/aaif-goose/goose/issues/12960>
- other: <https://github.com/aaif-goose/goose>
- other: <https://github.com/aaif-goose/goose/releases/tag/v1.53.0>
- other: <https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-129128>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-129128> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-129128>
