CVE-2026-35570: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Gitlawb openclaude
OpenClaude versions prior to 0. 5. 1 contain a path traversal vulnerability in the bashToolHasPermission() function. When the sandbox auto-allow feature is enabled without explicit deny rules, path constraints are bypassed, allowing unauthorized access to restricted directories via crafted path traversal sequences. This flaw was patched in version 0. 5. 1. The vulnerability has a high severity with a CVSS score of 8. 4, indicating potential for high confidentiality and integrity impact but no availability impact.
AI Analysis
Technical Summary
The vulnerability in Gitlawb's OpenClaude (CVE-2026-35570) arises from a logic flaw in the bashToolHasPermission() function within src/tools/BashTool/bashPermissions.ts. Specifically, when the sandbox auto-allow feature is active and no explicit deny rule exists, the function returns an allow decision before evaluating path constraints via checkPathConstraints. This premature allow enables commands containing path traversal sequences (e.g., ../../../../../etc/passwd) to bypass directory restrictions, potentially exposing sensitive files. The issue affects versions prior to 0.5.1, which includes the patch that corrects this logic flaw.
Potential Impact
Exploitation of this vulnerability allows a local attacker with limited privileges to bypass directory restrictions and access sensitive files outside the intended sandbox. The CVSS score of 8.4 reflects high confidentiality and integrity impact, meaning attackers could read or modify restricted files. There is no impact on availability. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch fixing this vulnerability is included in OpenClaude version 0.5.1. Users should upgrade to version 0.5.1 or later to remediate the issue. Since this is not a cloud service, remediation depends on applying the vendor's patch. Patch status is confirmed by the vendor's versioning and description. No additional mitigation steps are indicated by the vendor advisory.
CVE-2026-35570: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Gitlawb openclaude
Description
OpenClaude versions prior to 0. 5. 1 contain a path traversal vulnerability in the bashToolHasPermission() function. When the sandbox auto-allow feature is enabled without explicit deny rules, path constraints are bypassed, allowing unauthorized access to restricted directories via crafted path traversal sequences. This flaw was patched in version 0. 5. 1. The vulnerability has a high severity with a CVSS score of 8. 4, indicating potential for high confidentiality and integrity impact but no availability impact.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Gitlawb's OpenClaude (CVE-2026-35570) arises from a logic flaw in the bashToolHasPermission() function within src/tools/BashTool/bashPermissions.ts. Specifically, when the sandbox auto-allow feature is active and no explicit deny rule exists, the function returns an allow decision before evaluating path constraints via checkPathConstraints. This premature allow enables commands containing path traversal sequences (e.g., ../../../../../etc/passwd) to bypass directory restrictions, potentially exposing sensitive files. The issue affects versions prior to 0.5.1, which includes the patch that corrects this logic flaw.
Potential Impact
Exploitation of this vulnerability allows a local attacker with limited privileges to bypass directory restrictions and access sensitive files outside the intended sandbox. The CVSS score of 8.4 reflects high confidentiality and integrity impact, meaning attackers could read or modify restricted files. There is no impact on availability. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch fixing this vulnerability is included in OpenClaude version 0.5.1. Users should upgrade to version 0.5.1 or later to remediate the issue. Since this is not a cloud service, remediation depends on applying the vendor's patch. Patch status is confirmed by the vendor's versioning and description. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-03T20:09:02.826Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6b73b19fe3cd2cd3f2d17
Added to database: 4/20/2026, 11:31:07 PM
Last enriched: 4/20/2026, 11:46:11 PM
Last updated: 4/21/2026, 1:01:59 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.