Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35570: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Gitlawb openclaude

0
High
VulnerabilityCVE-2026-35570cvecve-2026-35570cwe-22cwe-284
Published: Mon Apr 20 2026 (04/20/2026, 23:24:08 UTC)
Source: CVE Database V5
Vendor/Project: Gitlawb
Product: 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

AILast updated: 04/20/2026, 23:46:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses