Read the docs
TI-2026-27674 Aliases CVE-2026-35570GHSA-m6rx-7pvw-2f73

OpenClaude has Sandbox Bypass via Early-Exit Logic Flaw that Allows Path Traversal

Priority HIGH 72CWE-22Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00232 14th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed openclaude (Gitlawb): 0.5.1@gitlawb/openclaude (npm): 0.5.1

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

VendorProductAffected versionsFixed inStatusSource
Gitlawbopenclaudebefore 0.5.10.5.1Patch availableCNA
—@gitlawb/openclaude (npm)before 0.5.10.5.1Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gitlawb:openclaude:*:*:*:*:*:*:*:*before 0.5.1VulnerableGitlawb
  • cpe:2.3:a:gitlawb:openclaude:*:*:*:*:*:*:*:* Versions before 0.5.1 Vulnerable ·Gitlawb

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

  1. 2026-10-02 Threatist record created from CVE-2026-35570
  2. 2026-10-03 Alias added: GHSA-m6rx-7pvw-2f73

References

  • 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