Skip to content
Threat Feed
high advisory

Remote Code Execution in Goose 1.37.0 via Malicious Recipes

The goose utility version 1.37.0 contains a vulnerability where insecure handling of recipe stdio extensions and retry.checks permits unvalidated arbitrary shell command execution.

CVE search metadata

CVE search record: CVE-2026-85623. Severity: high. CVSS: 8.8. KEV: no. Product: goose (1.37.0). Brief: Remote Code Execution in Goose 1.37.0 via Malicious Recipes. Brief link: https://feed.craftedsignal.io/briefs/2026-09-goose-rce/

The goose utility, specifically version 1.37.0, contains a critical security flaw allowing for arbitrary command execution. The application processes recipe files that define stdio extensions and retry.checks configurations without performing necessary security inspections or validation. An attacker capable of providing a crafted recipe file to a user can bypass existing security scanners, which fail to examine the extensions and retry logic within these configurations. When goose processes the malicious recipe, it executes the embedded shell commands in the context of the user running the goose binary. This vulnerability enables attackers to achieve code execution on any system where a user interacts with a malicious goose recipe file. Defenders should be aware that standard security scanning of recipes may not be sufficient to catch these specific vectors.

Impact

Successful exploitation allows an attacker to execute arbitrary shell commands on the host system, potentially leading to full system compromise, data exfiltration, or persistence, depending on the privileges of the user running the goose utility. This vulnerability affects all platforms where version 1.37.0 is deployed.

Recommendation

Prioritized actions for security teams:

  • Identify and inventory all deployments of goose version 1.37.0.
  • Until an official patch is released, restrict users from importing or executing untrusted goose recipes.
  • Audit file system activity for unexpected processes spawned by the goose binary.
  • Monitor for suspicious shell execution patterns where the parent process is the goose binary.

Immediate actions

Inventory systems running goose 1.37.0

IT Operations 24h

Mitigations

Restrict usage of untrusted recipes within the environment

immediate SOC

CVE-2026-85623