# CVE-2026-85623: goose arbitrary command execution in recipe extensions and retry checks

Source: https://junglewise.ai/threats/cve-2026-85623-goose-arbitrary-command-execution-in-recipe-extensions-and-retry  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-04. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-85623 · Severity: high · CVSS 8.8 · Published 2026-09-04

Goose is an open-source AI agent that can install, execute, and test code. Version 1.37.0 allows attackers to distribute malicious recipes that execute arbitrary shell commands on the user's system, bypassing security checks. An attacker can trick users into loading a recipe that runs commands with the privileges of the user running goose, leading to full system compromise.

## Quick answers

**Is CVE-2026-85623 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-85623 being exploited in the wild.

**How severe is CVE-2026-85623?** High severity, with a CVSS score of 8.8, published 4 September 2026.

**Which products and versions are affected?** aaif-goose goose 1.37.0.

**Is there a fix for CVE-2026-85623?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-85623 attacked?** It is attacked over the network or with local access.

**Am I affected by CVE-2026-85623?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in goose 1.37.0's recipe handling, where stdio extensions and retry.checks configurations are executed without proper security inspection. The recipe security scan does not validate or sanitize commands specified in these configuration sections before execution. An attacker can craft a malicious recipe that includes arbitrary shell commands in stdio extensions or retry check definitions. When a user loads or executes such a recipe, the commands run with the privileges of the user running goose. No authentication or special privileges are required on the attacker's side—only the ability to distribute a recipe file.

## Affected products

- aaif-goose goose 1.37.0

## Timeline

- 2026-09-04: disclosed

## References

- [https://github.com/aaif-goose/goose](https://github.com/aaif-goose/goose)
- [https://github.com/aaif-goose/goose/blob/v1.49.0/crates/goose/src/agents/extension_manager.rs](https://github.com/aaif-goose/goose/blob/v1.49.0/crates/goose/src/agents/extension_manager.rs)
