Skip to main content

OpenClaude EUVDEUVD-2026-23988

| CVE-2026-35570 HIGH
Path Traversal (CWE-22)
2026-04-21 security-advisories@github.com GHSA-m6rx-7pvw-2f73
8.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local authenticated access
  2. Delivery
    Configure or exploit existing auto-allow sandbox
  3. Exploit
    Inject path traversal sequences in bash commands
  4. Execution
    Bypass checkPathConstraints validation
  5. Persist
    Access files outside sandbox boundaries
  6. Impact
    Exfiltrate sensitive data or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three specific conditions: (1) OpenClaude version prior to 0.5.1 installed on the target system. (2) Sandbox auto-allow feature must be explicitly enabled in the configuration. (3) No explicit deny rules configured for the target paths being traversed. Local authenticated access (PR:L) is required - the attacker must be able to execute or influence OpenClaude commands on the system, either as a legitimate user, through compromised AI model responses, or via malicious prompts. Exploitation is limited to systems where OpenClaude is actively deployed with this specific sandbox configuration, not default installations with standard security settings.

Impact

Real-world risk is moderate and highly context-dependent. CVSS 8.4 reflects the severity of sandbox escape with high confidentiality and integrity impact, but multiple factors reduce practical exploitability: (1) Requires local authenticated access (PR:L) to a system running OpenClaude - not remotely exploitable. (2) Attacker must have OpenClaude installed and the specific sandbox auto-allow configuration enabled without deny rules. (3) EPSS 3rd percentile indicates security researchers assess exploitation probability as very low. (4) No KEV listing or public exploit code identified at time of analysis. The changed scope (S:C) is the primary concern - this enables breaking out of intended containment, potentially accessing credentials, source code, or system files. Priority depends entirely on deployment context: High priority if OpenClaude agents run with elevated privileges or access sensitive codebases; Low priority if used in isolated development environments with limited data exposure. The primary risk is not external attackers but rather compromised or malicious AI agent actions exceeding intended boundaries.

Exploit ScenarioDerived

A developer runs OpenClaude with sandbox auto-allow enabled in a repository containing proprietary source code and cloud credentials. A malicious or compromised AI model prompt causes the agent to execute bash commands containing path traversal sequences (e.g., 'cat ../../../../../home/developer/.aws/credentials'). Due to the logic flaw, these commands bypass directory restrictions and the agent exfiltrates AWS credentials or sensitive intellectual property that should have been isolated from the sandbox. The local attack vector requires the attacker to already have the ability to influence OpenClaude's operation (either through compromised prompts, malicious model responses, or direct local access).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 21, 2026

Path traversal in OpenClaude CLI versions before 0.5.1 allows local authenticated users to bypass sandbox directory restrictions and access arbitrary filesystem paths. A logic flaw in the bash permission handler causes path constraint checks to be skipped when sandbox auto-allow is enabled without explicit deny rules, permitting traversal sequences like '../../../etc/passwd' to escape containment boundaries. EPSS score of 0.01% indicates low probability of widespread exploitation, and no active exploitation has been reported.

Earlier versions of this analysis (1)
v1 Apr 21, 2026 - 00:37 CVSS 8.4

Path traversal in OpenClaude CLI 0.5.0 and earlier allows authenticated local users to read and modify arbitrary files outside intended sandbox directories when auto-allow mode is enabled. The vulnerability stems from a logic flaw in permission checking that skips path constraint validation, enabling directory traversal sequences like '../../../etc/passwd' to bypass restrictions entirely. Exploitation requires local access with low privileges and the sandbox auto-allow feature to be active. No active exploitation confirmed at time of analysis; public exploit code exists via the GitHub security advisory and commit demonstrating the flaw.

RemediationAI

Upgrade to OpenClaude version 0.5.1 or later, which contains a fix for the permission validation logic flaw (commit 7002cb302b78ea2a19da3f26226de24e2903fa1d at https://github.com/Gitlawb/openclaude/commit/7002cb302b78ea2a19da3f26226de24e2903fa1d). If immediate upgrade is not feasible, implement compensating controls: (1) Disable the sandbox auto-allow feature and define explicit allow rules for required paths only - this forces path constraint validation on all operations but requires manual configuration overhead. (2) Configure explicit deny rules for sensitive filesystem locations (/etc, /root, credential stores) to trigger path checks even with auto-allow enabled - this adds defense-in-depth but does not address the root logic flaw. (3) Run OpenClaude processes under dedicated low-privilege service accounts with filesystem ACLs restricting access to only required directories - this limits blast radius but adds operational complexity. Note that workarounds do not eliminate the vulnerability and should be considered temporary until patching.

Affected VersionsENISA

openclaude < 0.5.1

Affected Packages

npm @gitlawb/openclaude fix: 0.5.1
euvd openclaude fix: 0.5.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenClaude is a command-line coding agent that integrates with cloud and local AI model providers. The vulnerability exists in the BashTool permission validation logic (bashToolHasPermission function in src/tools/BashTool/bashPermissions.ts). This is a classic CWE-22 path traversal flaw caused by improper control flow: when the sandbox auto-allow feature is active and no explicit deny rules are configured, the function short-circuits with an allow decision before invoking checkPathConstraints() - the filter responsible for validating path boundaries. This allows relative path sequences (../) to traverse outside intended directory constraints, potentially accessing sensitive system files or data that should be isolated from the AI agent's execution context. The local attack vector (AV:L) indicates exploitation requires existing access to the system running OpenClaude, while the changed scope (S:C) reflects that the vulnerability enables escaping the sandboxed execution environment.

Know when Openclaude gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.4 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch released
Apr 23, 2026 - 18:37 nvd
Patch available
Patch available
Apr 21, 2026 - 16:31 EUVD
CVE Published
Apr 21, 2026 - 00:16 nvd
HIGH 8.4

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenClaude CLI versions 0.5.0 and earlier contain a path traversal vulnerability that allows authenticated local users with low privileges to read and modify arbitrary files on the system when auto-allow mode is enabled, potentially exposing sensitive data and enabling unauthorized system modifications. Organizations using OpenClaude CLI in shared or multi-user environments face immediate risk of data exposure and system compromise. This vulnerability requires immediate action as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable auto-allow mode entirely and require explicit user approval for all operations; (2) Implement strict file system ACLs restricting OpenClaude CLI process to a single locked-down directory tree; (3) Run OpenClaude CLI in containerized or VM-isolated environments with no access to sensitive file paths; (4) Restrict OpenClaude CLI usage to dedicated, non-production accounts with minimal system privileges; (5) Monitor file access and modification logs for suspicious path traversal patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy