Skip to content

CVE-2026-42074 OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input

CriticalCVSS 9.3 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

OpenClaude is an open-source coding-agent command line interface for cloud and local model providers. Prior to version 0.5.1, the dangerouslyDisableSandbox parameter is exposed as part of the BashTool input schema, meaning the LLM (an untrusted principal per the project's own threat model) can set it to true in any tool_use response. Combined with the default allowUnsandboxedCommands: true setting, a prompt-injected model can escape the sandbox for any arbitrary command, achieving full host-level code execution. This issue has been patched in version 0.5.1.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Gitlawb openclaude < 0.5.1; = < 0.5.1 0.5.1 Fixed
npm openclaude(npm) < 0.5.1 0.5.1 Fixed

Affected products

ProductAffected versionsFixed in
Gitlawb openclaude = < 0.5.1 No fix listed
npm openclaude(npm) < 0.5.1 0.5.1
Gitlawb openclaude < 0.5.1 0.5.1

References