Skip to content
CriticalVulnerabilityLLM-specific

GHSA-m77w-p5jj-xmhg: OpenClaude Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input

Published
Record updated
View JSON
Affected
  • openclaude < 0.5.1
Fixed in
0.5.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

GHSA-m77w-p5jj-xmhg reports that OpenClaude's BashTool input schema exposes `dangerouslyDisableSandbox` to the model, which the project's own threat model treats as an untrusted principal. In `shouldUseSandbox()` in `src/tools/BashTool/shouldUseSandbox.ts`, that flag skips the sandbox when `areUnsandboxedCommandsAllowed()` returns true, and that check defaults to true in `src/utils/sandbox/sandbox-adapter.ts`. A prompt-injected model can therefore set the flag in a `tool_use` block and run arbitrary host commands under default configuration.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.