CVE-2026-42074

OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input

Published Jun 2, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m77w-p5jj-xmhg OpenClaude Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlawb:openclaude:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Gitlawb
Gitlawb openclaude
Vendors & Products Gitlawb
Gitlawb openclaude
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input
Weaknesses CWE-284
CWE-306
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 2, 2026, 5:53 PM
Reserved
Apr 23, 2026, 7:17 PM
Status
Analyzed
Published
Jun 2, 2026, 5:16 PM
Modified
Jul 22, 2026, 7:10 PM