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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-12T16:17:59.000Z
- Modified: 2026-07-22T19:10:00.120Z
- Also known as: GHSA-m77w-p5jj-xmhg
- Weaknesses: CWE-284, CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Gitlawb openclaude: < 0.5.1; before 0.5.1
- openclaude (npm): before 0.5.1

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m77w-p5jj-xmhg> (exploit, vendor-advisory, web)
- <https://github.com/Gitlawb/openclaude/pull/778> (issue-tracking, patch, web)
- <https://github.com/Gitlawb/openclaude/commit/aab489055c53dd64369414116fe93226d2656273> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42074> (advisory)
- <https://github.com/Gitlawb/openclaude> (package)

## Sources

- CVE List: [CVE-2026-42074](https://www.cve.org/CVERecord?id=CVE-2026-42074), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-m77w-p5jj-xmhg](https://github.com/advisories/GHSA-m77w-p5jj-xmhg), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-42074](https://nvd.nist.gov/vuln/detail/CVE-2026-42074), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-42074 · Whole record: https://cve.day/CVE-2026-42074.json · Rebuilt by cve.day 2026-11-25T22:59:23.586Z
