CVE-2026-41366

OpenClaw < 2026.3.31 - Arbitrary Host File Read via appendLocalMediaParentRoots Self-Whitelisting

Published Apr 27, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

OpenClaw before 2026.3.31 contains a self‑whitelisting flaw in the appendLocalMediaParentRoots function that enables a model to read any file on the host system without authorization. The flaw results from inadequate validation of media parent directories, allowing an attacker to extract credentials or other confidential data. This is a CWE‑732 type weakness where permissions or controls are improperly assigned.

Affected Systems

The vulnerability affects OpenClaw releases older than version 2026.3.31. Systems running those releases are at risk if they enable external model loading or media management features.

Risk and Exploitability

The CVSS score of 6.0 indicates a moderate severity vulnerability. No EPSS data is available, and the issue is not listed in the CISA KEV catalog, suggesting no confirmed exploitation yet. The attack is likely performed by a malicious model or via an application component that processes media requests, resulting in an arbitrary file read on the host. The lack of publicly known exploitation means the threat remains theoretical but could be leveraged in a targeted environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.3.31 or later to apply the fix that corrects the self‑whitelisting logic.
  • Reconfigure file system permissions for media parent directories so the OpenClaw process has read access only to intended files.
  • Disable or restrict external model loading if possible to prevent a model from initiating media requests that could trigger the flaw.

Generated by OpenCVE AI on April 28, 2026 at 12:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title OpenClaw < 2026.3.31 - Arbitrary Host File Read via appendLocalMediaParentRoots Self-Whitelisting
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-732
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6, 'vector': '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'}

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Apr 28, 2026, 2:45 PM
Reserved
Apr 20, 2026, 2:09 PM
Status
Analyzed
Published
Apr 28, 2026, 12:16 AM
Modified
Jul 24, 2026, 9:10 PM