Description
OpenClaw through 2026.3.23 (fixed in commit 4797bbc) contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. Attackers can exploit incomplete validation and the allowBareFilename bypass to reference files outside the intended application sandbox, resulting in disclosure of sensitive information including system files, environment files, and SSH keys.
Published: 2026-03-26
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read leading to disclosure of sensitive data
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a path traversal flaw in OpenClaw’s media parsing logic that allows an attacker to read arbitrary files. The flaw stems from inadequate validation in the isLikelyLocalPath() and isValidMedia() functions, combined with an allowBareFilename bypass that can reference files outside the intended application sandbox. By supplying a crafted media path, an attacker can read system files, environment files, and SSH private keys, resulting in significant confidentiality loss.

Affected Systems

The affected product is OpenClaw by OpenClaw. Versions up to 2026.3.23 are vulnerable; the issue was fixed in commit 4797bbc5b and applies to releases prior to that. No other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is below 1%, suggesting a relatively low probability of widespread exploitation, and the vulnerability is not included in the CISA Known Exploited Vulnerabilities list. Attackers would exploit this flaw by supplying a specially crafted media file to trigger the path traversal, which is inferred from the media parsing context. The vulnerability affects confidentiality by enabling the reading of sensitive files; integrity and availability impacts are not described in the provided information.

Generated by OpenCVE AI on April 1, 2026 at 05:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied fix by updating to the latest OpenClaw release or by applying commit 4797bbc5b
  • Verify that the isLikelyLocalPath() and isValidMedia() check now properly reject paths that escape the sandbox
  • If an update is not immediately possible, restrict media upload to only trusted sources and validate filenames strictly
  • Monitor application logs for attempts to access sensitive files
  • Run the application under the least privilege necessary to limit potential disclosures

Generated by OpenCVE AI on April 1, 2026 at 05:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hggm-x7r9-mm7v OpenClaw is vulnerable to Path Traversal through path validation bypass
History

Wed, 01 Apr 2026 02:15:00 +0000

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

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


Fri, 27 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 27 Mar 2026 08:45:00 +0000

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

Thu, 26 Mar 2026 16:45:00 +0000

Type Values Removed Values Added
Description OpenClaw through 2026.3.23 (fixed in commit 4797bbc) contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. Attackers can exploit incomplete validation and the allowBareFilename bypass to reference files outside the intended application sandbox, resulting in disclosure of sensitive information including system files, environment files, and SSH keys.
Title OpenClaw Media Parsing Path Traversal to Arbitrary File Read
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-03-27T14:43:07.620Z

Reserved: 2026-03-16T18:11:41.758Z

Link: CVE-2026-32846

cve-icon Vulnrichment

Updated: 2026-03-27T14:42:55.919Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-26T17:16:37.640

Modified: 2026-03-31T21:40:05.587

Link: CVE-2026-32846

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-02T07:58:58Z

Weaknesses