Skip to main content

Goose CLI CVE-2026-129128

| EUVDEUVD-2026-125551 HIGH
OS Command Injection (CWE-78)
2026-11-13 VulnCheck GHSA-m867-2v3c-r239
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted repo with malicious diff.external
  2. Delivery
    Victim runs goose review
  3. Exploit
    git diff invoked without --no-ext-diff
  4. Execution
    Git executes external command as user
  5. Impact
    Exfiltrate credentials and API keys

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to run the goose review command inside a repository whose Git configuration sets diff.external (e.g. an attacker-crafted/shipped repository or a repo-scoped .git/config the attacker controls), on Goose CLI versions 1.35.0 up to but not including 1.53.0; the vulnerable code paths are git diff --name-only, git diff, and git diff --stat invoked without --no-ext-diff. Limiting factors: the attack vector is local (AV:L) and demands user interaction (UI:A) - the developer must obtain the untrusted repository and run goose review on it - so there is no remote, unattended trigger; it does not fire against repositories the user controls or trusts. Mitigation per the vendor is upgrading to 1.53.0, which forces --no-ext-diff on all diff invocations.

Impact

This is a genuine, actionable local code-execution flaw rather than an inflated high-CVSS score, but its real-world urgency is moderated by the local attack vector and required user interaction. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A) is internally consistent with the description: no privileges are needed, but exploitation depends on the victim actively running goose review inside an attacker-controlled repository. VulnCheck reported it, a vendor patch exists (fixed in v1.53.0), and vuln.today assigns a 'this_week' priority - all pointing to a credible, patch-worthy issue. However, it is NOT listed in CISA KEV and no EPSS score was provided, so there is no evidence of active or widespread exploitation; the signals indicate opportunistic/social-engineering risk (a 'poisoned repository' supply-chain style lure) rather than mass automated exploitation. The high confidentiality/integrity/availability impact (VC:H/VI:H/VA:H) is well-grounded because command execution as the user exposes stored credentials and provider API keys. Note the apparent tension between the 'RCE' tag and the actual mechanism: this is LOCAL execution (AV:L) triggered by user action, not remote network-reachable RCE - treat the 'RCE' label as delivery-via-crafted-repo, not unauthenticated network access.

Exploit ScenarioDerived

An attacker publishes or sends a victim a crafted Git repository whose committed .git/config (or one the victim is lured into configuring) sets diff.external to a malicious command. When the developer runs goose review on that repository, Goose CLI invokes git diff without --no-ext-diff, so Git executes the attacker's diff.external program as the current user, stealing credentials and provider API keys. No public exploit was identified at time of analysis, though the fix commit and a regression test publicly demonstrate the exact trigger.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Local command execution in Goose CLI 1.35.0 up to but not including 1.53.0 allows an attacker-crafted repository to run arbitrary commands as the developer when goose review invokes git diff without --no-ext-diff, causing Git to honor a malicious diff.external entry in the repository's .git/config. The victim must obtain the untrusted repository and run the review command inside it, so the issue is local and requires user interaction rather than a remote unattended trigger; credentials and provider API keys available to the developer process may be exposed. Goose CLI 1.53.0 fixes the issue by forcing --no-ext-diff on the affected diff calls, and no public exploit identified at time of analysis.

RemediationAI

Upgrade to Goose CLI 1.53.0; the vendor-released fix is release v1.53.0, and the supplied commit 3fbea00fd44f6496ee4afe2b8b2897c3c95d63e9 adds --no-ext-diff to the git diff, git diff --name-only, and git diff --stat invocations in the review handler (see https://github.com/aaif-goose/goose/releases/tag/v1.53.0, PRs 12537 and 13469, and the VulnCheck advisory). The vendor's complete mitigation is the upgrade, which forces --no-ext-diff; avoiding goose review in repositories the user does not control limits exposure but does not replace the patch. No separate workaround is specified in the supplied data.

Affected VersionsENISA

goose 1.35.0 <1.53.0

Affected Packages

euvd goose fix: 1.53.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a command-injection class issue (CWE-78) rooted in Git's external diff driver: diff.external in repository configuration names a program that Git runs when producing diffs, and the Goose CLI review workflow calls git diff, git diff --name-only, and git diff --stat without --no-ext-diff to enumerate and collect changes. The affected code is in crates/goose-cli/src/commands/review/handler.rs (review_git_command, touched_files, and collect_diff); the supplied commit adds --no-ext-diff to all three calls and includes a Unix regression test verifying that a repository diff.external hook does not run. The CPE identifies aaif-goose:goose. The attack vector is local and requires the user to run goose review in the crafted repository, so this is not remotely triggerable without that interaction; both the CVSS 4.0 vector and the independent CVSS 3.1 assessment reflect local access and user interaction.

Know when Goose gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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
vuln.today AI 7.8 HIGH

Local because exploitation needs the victim to run goose review on an attacker-supplied repo (AV:L, UI:R); no privileges needed (PR:N); code execution as user yields full C/I/A impact with unchanged scope.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Goose CLI versions 1.35.0 through 1.52.x allows a malicious repository to execute arbitrary commands on a developer's machine when the 'goose review' command is run, potentially exposing credentials and API keys. This impacts developers using the affected tool, and leadership should prioritize patching to prevent credential theft and supply chain risks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche open-source AI agent developer CLI, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy