Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted repo with malicious diff.external
-
DeliveryVictim runs goose review
-
Exploitgit diff invoked without --no-ext-diff
-
ExecutionGit executes external command as user
-
ImpactExfiltrate 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Arbitrary command execution in goose v1.37.0 allows an attacker to embed shell commands inside recipe stdio extension de
Goose's optional terminal integration feature captures shell command history and transmits it verbatim, with no redactio
Arbitrary command execution in the goose AI agent's `goose review` command allows a malicious Git repository to run atta
EUVD-2026-125551
GHSA-m867-2v3c-r239
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB