Skip to main content

OpenClaw CVE-2026-41366

MEDIUM
Incorrect Permission Assignment for Critical Resource (CWE-732)
2026-04-28 disclosure@vulncheck.com
6.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Recon
    Obtain valid OpenClaw credentials
  2. Delivery
    Invoke model inference API
  3. Exploit
    Craft malicious directory path with traversal sequences
  4. Install
    appendLocalMediaParentRoots function validates insufficiently
  5. C2
    Whitelist accepts parent directory outside sandbox
  6. Execute
    Read arbitrary files accessible to OpenClaw process
  7. Impact
    Exfiltrate credentials and sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
Exploitation Conditions

Exploitation requires an authenticated user or model with access to invoke the appendLocalMediaParentRoots function. The vulnerability is triggered when this function processes directory paths without proper validation of parent directory references, allowing path traversal payloads to escape the media root directory. Default OpenClaw installations that expose the model inference API over the network and accept untrusted model-generated file paths are vulnerable. The exploit does NOT require local system access or elevated privileges on the host, only valid credentials for the OpenClaw service. However, exploitation is limited by the file permissions of the OpenClaw process - files readable only by other users or processes cannot be accessed.

Impact

CVSS 6.0 with AV:N/AC:L/PR:L vector indicates network-accessible exploitation requiring low complexity and prior user authentication. However, the description explicitly states 'model-initiated arbitrary host file read,' suggesting the vulnerability originates from a compromised or adversarially-controlled model rather than direct attacker input, which may limit real-world exploitation scope despite the network vector. EPSS score and KEV status are not provided, so exploitation probability cannot be independently assessed. The AV:N rating appears inconsistent with a 'local roots self-whitelisting' vulnerability - this suggests either the vulnerability can be triggered remotely through the model interface or the CVSS vector may require vendor clarification. The impact is limited to information disclosure (VC:H for confidentiality) with no integrity or availability impact. Real-world risk depends on whether the model is under attacker control and what sensitive files are accessible to the OpenClaw process. If OpenClaw runs with elevated privileges or can access system credentials, risk is elevated; if confined to user-writable directories, risk is lower.

Exploit ScenarioDerived

An attacker with valid OpenClaw credentials (or compromised credentials) crafts a model inference request that triggers the vulnerable appendLocalMediaParentRoots function with malicious directory path traversal sequences (e.g., '../../../etc/passwd'). The insufficient validation allows the model or application layer to add parent directories outside the intended media sandbox to the whitelist, enabling subsequent file read operations to exfiltrate sensitive files such as system configuration, private keys, or application credentials. If the attacker operates the model directly, they can systematically enumerate and extract all files accessible to the OpenClaw process.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – Apr 28, 2026

OpenClaw before version 2026.3.31 allows authenticated attackers to read arbitrary host files through improper validation in the appendLocalMediaParentRoots function, enabling exfiltration of credentials and sensitive data. The vulnerability permits model-initiated file access by exploiting a self-whitelisting mechanism that fails to properly validate media parent directory paths. Authentication is required, but the flaw affects confidentiality with a CVSS score of 6.0.

RemediationAI

Upgrade to OpenClaw version 2026.3.31 or later, which includes fixes for the appendLocalMediaParentRoots validation logic. The upstream fix is available at https://github.com/openclaw/openclaw/commit/1ca4261d7e055d0be141ed79ebb1365d0fbc7364. As an interim compensating control, restrict the file system permissions of the OpenClaw process to exclude access to sensitive directories (e.g., /etc, /root, credential stores) using OS-level file access controls (SELinux, AppArmor, or Windows file ACLs). Additionally, disable or restrict the model inference feature if it is not required, and isolate OpenClaw in a container or sandbox with minimal file system permissions to limit the scope of readable files. These controls reduce exposure but do not eliminate the vulnerability; patching is the primary remediation.

Affected Packages

npm openclaw fix: 2026.3.31

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

OpenClaw's appendLocalMediaParentRoots function implements media library path management but fails to properly validate parent directory references before adding them to the whitelist. The root cause (CWE-732: Incorrect Permission Assignment for Critical Resource) indicates that the application grants excessive permissions or fails to enforce proper access controls on file system operations. Attackers can manipulate directory path validation to escape intended sandbox boundaries and access files outside the designated media directory. This is a local file disclosure vulnerability at the application layer, where the model or application layer can be induced to read arbitrary files through crafted path inputs.

Know when Openclaw 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 (vulncheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenClaw before 2026.3.31 contains a local roots self-whitelisting vulnerability in appendLocalMediaParentRoots that allows model-initiated arbitrary host file read. Attackers can exploit improper media parent directory validation to exfiltrate credentials and access sensitive files.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on openclaw (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.31.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

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