OpenClaw Local Roots Self-Whitelisting Vulnerability Allowing Arbitrary Host File Read

Vulnerability

A local roots self-whitelisting vulnerability has been identified in OpenClaw versions prior to 2026.3.31. The issue resides in the 'appendLocalMediaParentRoots' function, where improper validation of media parent directories allows model-initiated reading of arbitrary host files. This vulnerability can be exploited to exfiltrate credentials and access sensitive files.

Impact

Exploitation of this vulnerability could lead to unauthorized reading of host files, allowing attackers to access sensitive information and credentials.

Reproduction

The vulnerability can be reproduced by using OpenClaw version 2026.3.28 or earlier. After setting up the application, append local media parent roots from a source that includes file URLs or top-level file paths. The 'appendLocalMediaParentRoots' function will improperly validate the media parent directory, allowing for arbitrary file reads from the host.

Remediation

Users can upgrade to OpenClaw version 2026.3.31 or later to address this vulnerability.

Added: Apr 28, 2026, 12:25 AM
Updated: Apr 28, 2026, 12:25 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.7
remediation
0.0
relevance
6.9
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.