Description
OpenClaw is a personal AI assistant. Prior to version 2026.1.30, the isValidMedia() function in src/media/parse.ts allows arbitrary file paths including absolute paths, home directory paths, and directory traversal sequences. An agent can read any file on the system by outputting MEDIA:/path/to/file, exfiltrating sensitive data to the user/channel. This issue has been patched in version 2026.1.30.
Published: 2026-02-04
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local File Inclusion allowing arbitrary file read and data exfiltration
Action: Immediate Patch
AI Analysis

Impact

The vulnerability stems from the isValidMedia() function in src/media/parse.ts, which accepts arbitrary file paths, including absolute paths and directory traversal sequences. An agent issuing a MEDIA:/path/to/file request can read any file on the system, enabling exfiltration of sensitive data to the user or channel. This is a Local File Inclusion flaw that leads to information exposure (CWE-200) and path traversal (CWE-22).

Affected Systems

OpenClaw personal AI assistant versions earlier than 2026.1.30. The affected product is listed under the vendor openclaw:openclaw. Users running any pre‑2026.1.30 release are vulnerable.

Risk and Exploitability

The CVSS score indicates a medium severity (6.5). EPSS is below 1 %, meaning the probability of exploitation at present is low, and the vulnerability is not present in the CISA KEV list. The attack requires an agent with local execution ability within OpenClaw to emit a MEDIA command; network exposure is not required. If the assistant runs with elevated system privileges, the scope of accessed files can be extensive, but the vulnerability remains limited to files readable by the process. Given the low exploit likelihood and the absence of a public exploit, the overall risk is moderate, yet the potential for data leakage warrants prompt remediation.

Generated by OpenCVE AI on April 17, 2026 at 23:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update OpenClaw to version 2026.1.30 or later to apply the fix
  • If an update cannot be performed immediately, disable or restrict the MEDIA command so that agents cannot request arbitrary file paths
  • Verify that isValidMedia() now rejects unsupported path types by testing with known non‑allowed paths

Generated by OpenCVE AI on April 17, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r8g4-86fx-92mq OpenClaw Vulnerable to Local File Inclusion via MEDIA: Path Extraction
History

Fri, 13 Feb 2026 14:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

Thu, 05 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 05 Feb 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Openclaw
Openclaw openclaw
Vendors & Products Openclaw
Openclaw openclaw

Wed, 04 Feb 2026 20:00:00 +0000

Type Values Removed Values Added
Description OpenClaw is a personal AI assistant. Prior to version 2026.1.30, the isValidMedia() function in src/media/parse.ts allows arbitrary file paths including absolute paths, home directory paths, and directory traversal sequences. An agent can read any file on the system by outputting MEDIA:/path/to/file, exfiltrating sensitive data to the user/channel. This issue has been patched in version 2026.1.30.
Title OpenClaw Vulnerable to Local File Inclusion via MEDIA: Path Extraction
Weaknesses CWE-200
CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-05T14:32:36.477Z

Reserved: 2026-02-02T16:31:35.820Z

Link: CVE-2026-25475

cve-icon Vulnrichment

Updated: 2026-02-05T14:20:15.536Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-04T20:16:07.287

Modified: 2026-02-13T14:42:29.397

Link: CVE-2026-25475

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T23:30:15Z

Weaknesses