OpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path Traversal
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
OpenClaude is an open-source coding-agent command line interface for cloud and local model providers. Versions prior to 0.5.1 have a logic flaw in `bashToolHasPermission()` inside `src/tools/BashTool/bashPermissions.ts`. When the sandbox auto-allow feature is active and no explicit deny rule is configured, the function returns an `allow` result immediately — before the path constraint filter (`checkPathConstraints`) is ever evaluated. This allows commands containing path traversal sequences (e.g., `../../../../../etc/passwd`) to bypass directory restrictions entirely. Version 0.5.1 contains a patch for the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Gitlawb | openclaude | before 0.5.1 | 0.5.1 | Patch available | CNA |
| — | @gitlawb/openclaude (npm) | before 0.5.1 | 0.5.1 | Patch available | GHSA-m6rx-7pvw-2f73 |
- openclaude VendorGitlawb Affected before 0.5.1 Fixed in 0.5.1 Patch available CNA
- @gitlawb/openclaude (npm) Vendor— Affected before 0.5.1 Fixed in 0.5.1 Patch available GHSA-m6rx-7pvw-2f73
Remediation
- Fix · CNA openclaude (Gitlawb) Fixed in 0.5.1
- Fix · GHSA-m6rx-7pvw-2f73 @gitlawb/openclaude (npm) Fixed in 0.5.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35570
- 2026-10-03 Alias added: GHSA-m6rx-7pvw-2f73
References
More Gitlawb Openclaude vulnerabilities
- TI-2026-30442 OpenClaude: Sandbox Bypass via Model-Controlled `dangerouslyDisableSandbox` Input CVSS 4.0CRITICAL 9.3
- TI-2026-30441 OpenClaude's MCP OAuth Callback: State Check Bypass via error Param Leads to DoS CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-35570 · CVE Program
- CVE-2026-35570 · NVD
- FIRST EPSS
- GHSA-m6rx-7pvw-2f73 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences