CVE-2026-35570

HIGH CVSS 3.1: 8.4 EPSS 0.24%
Updated Oct 27, 2026
Gitlawb
Parameter Value
CVSS 8.4 (HIGH)
Affected Versions before 0.5.1
Fixed In 0.5.1
Type CWE-22 (Path Traversal), CWE-284 (Improper Access Control)
Vendor Gitlawb
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gitlawb Openclaude
cpe:2.3:a:gitlawb:openclaude:*:*:*:*:*:*:*:*
— 0.5.1