Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaude
  4. ›
  5. CVE-2026-42074

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

May 12, 2026 (updated June 9, 2026)

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.

References

  • github.com/Gitlawb/openclaude/commit/aab489055c53dd64369414116fe93226d2656273
  • github.com/Gitlawb/openclaude/pull/778
  • github.com/Gitlawb/openclaude/security/advisories/GHSA-m77w-p5jj-xmhg
  • github.com/advisories/GHSA-m77w-p5jj-xmhg
  • nvd.nist.gov/vuln/detail/CVE-2026-42074

Code Behaviors & Features

Detect and mitigate CVE-2026-42074 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.1

Fixed versions

  • 0.5.1

Solution

Upgrade to version 0.5.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-306: Missing Authentication for Critical Function

Source file

npm/openclaude/CVE-2026-42074.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:37 +0000.