CVE-2026-35570 Details
Description
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.
A logic flaw has been identified in OpenClaude versions prior to 0.5.1, specifically within the 'bashToolHasPermission()' function in 'src/tools/BashTool/bashPermissions.ts'. When the sandbox's auto-allow feature is enabled and no explicit deny rule is set, the function prematurely returns an 'allow' result. This occurs before the path constraint filter can be applied, enabling commands with path traversal sequences to completely bypass directory restrictions. As a result, users can access arbitrary files outside the sandbox boundary, such as '/etc/passwd' and '/etc/shadow', or write to any path, depending on operating system permissions.
Users should update to OpenClaude version 0.5.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d | [email protected] | Patch |
| https://github.com/Gitlawb/openclaude/security/advisories/GHSA-m6rx-7pvw-2f73 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-284 | Improper Access Control | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitlawb openclaude | < 0.5.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 21, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2026 | New CVE Received | [email protected] |