ZeroHour

CVE-2026-85623

moderate

Arbitrary command execution in goose AI agent via recipe extensions and retry checks

CVSS 4.0
8.7 high
EPSS
<1%p33
Published
()
Modified
AI analysis

goose 1.37.0, an open-source AI agent CLI, executes shell commands declared in recipe stdio extensions and in retry.checks without any security inspection, so the built-in recipe security scan never reviews these components. An attacker who can convince a user to load a crafted recipe (for example shared via a repository or documentation) can have arbitrary shell commands run silently as that user, bypassing the scan-based trust indicator. Successful exploitation gives command execution with the victim user's privileges on their machine, enabling data theft, malware installation, or lateral movement; the CVSS 4.0 score of 8.7 reflects high impact on the compromised system but requires user interaction. Anyone running goose 1.37.0 who executes recipes from third parties is affected, and the advisory does not state a fixed version. No public proof-of-concept, no CISA KEV listing, and no reported in-the-wild exploitation are known; EPSS estimates a 0.4% probability of exploitation within 30 days.

What to do: Audit which goose version is in use and treat third-party recipes as untrusted input: until a patched release is announced, run only recipes from trusted sources and avoid untrusted recipes that define stdio extensions or retry.checks, since these bypass the recipe security scan. Monitor the vendor advisory for a fixed version, as none is stated in the current data.

Affected
Block (open-source "codename goose" project) goose1.37.0 (no fixed version specified in the source data)
Estimated exposure
moderatelikely on the order of tens of thousands of developer installations (no authoritative install counts) — goose is an opt-in open-source developer CLI distributed via GitHub and package managers with a sizable but not mass-market community, so the estimate is an order-of-magnitude guess from project popularity rather than deployment telemetry.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-94
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.