Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious recipe with shell command in stdio/retry.checks
-
DeliveryDistribute via public recipe repository or social engineering
-
ExploitVictim loads and executes recipe in goose
-
ExecutionSecurity scanner passes recipe without inspection
-
PersistEmbedded shell commands execute as victim user
-
ImpactFull user-level code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must actively load and execute the malicious recipe in goose - remote exploitation without user interaction is not possible given UI:P in the CVSS 4.0 vector. The attack specifically targets the stdio extension command fields and retry.checks configuration within a recipe, which are the precise fields excluded from the recipe security scanner in affected versions. No authentication or elevated privileges are required to craft or distribute a malicious recipe. Exploitation is limited to users running goose v1.37.0 through pre-v1.49.0 who choose to execute attacker-supplied or community-sourced recipes without independent code review. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) is broadly appropriate: the attack is network-reachable via recipe distribution, low-complexity once a recipe is loaded, and yields full command execution. The UI:P requirement is the primary real-world brake - exploitation cannot be automated without social engineering or a compromised recipe repository. No CISA KEV listing and no public exploit code have been identified at time of analysis. EPSS data was not provided. A compounding risk factor is the false sense of security created by the scanner bypass: users who rely on goose's built-in security scan as a trust gate are specifically exposed, as the scan passes malicious recipes without warning. The developer/researcher profile of goose users may make them more willing to run community-sourced recipes, analogous to risks from arbitrary pip or npm packages. |
| Exploit ScenarioDerived | An attacker publishes a goose recipe to a public community repository or shares it via social media, embedding a reverse-shell or data-exfiltration command inside a stdio extension definition or retry.check field. When a developer downloads and runs the recipe with goose v1.37.0, the embedded shell command executes immediately under the developer's account without triggering any scanner alert. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Arbitrary command execution in goose v1.37.0 allows an attacker to embed shell commands inside recipe stdio extension definitions and retry.check fields that are silently executed under the victim user's OS privileges. The built-in recipe security scanner does not inspect these fields, providing a false safety guarantee and a clear bypass path. No public exploit is identified at time of analysis, but exploitation is low-complexity once a target user loads a malicious recipe.
RemediationAI
Upgrade goose to v1.49.0 or later, which contains patches to the recipe parser in crates/goose/src/recipe/mod.rs and the extension manager in crates/goose/src/agents/extension_manager.rs as shown in the GitHub repository at v1.49.0 tag. The upstream issue is tracked at https://github.com/aaif-goose/goose/issues/10325. Until upgrade is feasible, treat the built-in recipe security scan as an insufficient control and refuse to load or execute recipes from unaudited or untrusted sources. Restrict goose deployments to only recipes from known-good, internally vetted sources. Do not expose recipe-loading functionality to end users who may import arbitrary third-party recipes without review.
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
goose is a Rust-based AI agent framework that orchestrates automated workflows via 'recipes' - YAML or structured configuration files defining tasks, extensions, and retry logic. The CWE-94 (Code Injection) root cause resides in the recipe processing pipeline: the security scanner that validates recipes does not examine stdio extension command fields or retry.check command configurations, allowing injected shell directives to reach execution without inspection. The relevant code paths are in crates/goose/src/recipe/mod.rs (recipe parsing) and crates/goose/src/agents/extension_manager.rs (extension orchestration), both patched in v1.49.0 per GitHub references. The CPE cpe:2.3:a:aaif-goose:goose:*:*:*:*:*:*:*:* identifies the aaif-goose GitHub organization's project.
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:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Recipe distributed over network (AV:N), no auth to craft payload (PR:N), user must execute recipe (UI:R); full shell execution yields C/I/A:H with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
goose 1.37.0 executes arbitrary commands from recipe stdio extensions and retry.checks without security inspection. Attackers can distribute malicious recipes that execute shell commands as the user running goose, bypassing the recipe security scan which does not inspect extensions or retry configurations.
Executive ViewAI
Goose v1.37.0 contains a command injection vulnerability that allows malicious recipes to execute arbitrary code under the user's privileges, bypassing the application's built-in security scanner. Users and teams relying on external or community recipes face immediate risk of unauthorized system access and data compromise, particularly in development and DevOps environments where recipes are frequently shared across teams.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict all recipe sources to an internal allowlist of pre-approved recipes; require peer security review before any recipe deployment; disable automatic recipe updates and enforce explicit approval workflows; run goose processes with minimal necessary OS privileges and in isolated environments where feasible; maintain detailed audit logs of all recipe executions and embedded shell command invocations; educate users about the risks of loading recipes from untrusted or social-engineered sources.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Local command execution in Goose CLI 1.35.0 up to but not including 1.53.0 allows an attacker-crafted repository to run
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-71230
GHSA-rh2p-fw5h-rc3m
NVD
CVE.org
EPSS
Exploit-DB