Skip to main content
Menu
CVEs

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.

CVE-2026-129128EUVD-2026-125551GHSA-M867-2V3C-R239Published November 13, 2026, updated

8.4HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.53.0
Who is exposed
Specific setups only

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

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

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

“Affecting goose >= 1.35.0, < 1.53.0”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    goose CLI version 1.35.0 up to but not including 1.53.0 The repository's .git/config sets diff.external to a command The victim runs goose review in that repository
  2. Upgrade to a fixed version: 1.53.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

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"}.

Affected versions

cve.now Index

14of 100 · methodology v3
  • Exploitation0/40No signal
  • Exposure5/25Specific setups only
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity9.4/10CVSS 8.4, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 64 if added to CISA KEV
  • Would score about 59 if CISA's SSVC rates exploitation active
  • Would score about 24 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now3 days
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Public exploit activity

100%0Nov 13Nov 25
  • EPSS: 0.15%

Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.

Evidence 10

Questions about CVE-2026-129128

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: cve.now feed data

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: vulncheck.com

Which versions are affected by CVE-2026-129128?

goose: from 1.35.0 before 1.53.0.

Source: cve.now feed data

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: vulncheck.com

How do I fix CVE-2026-129128?

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

Source: vulncheck.com

No corrections so far. Something wrong on this page? Report an error.