CVE-2026-53831
JSON

7.6high

OpenClaw < 2026.5.18 - Arbitrary File Read via Shell Expansion in system.run Safe-bin Allowlist

Severity
7.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-mhq8-78pj-5j79

Description

OpenClaw before 2026.5.18 contains a policy enforcement vulnerability in system.run safe-bin allowlist validation that allows shell expansion to modify command interpretation on POSIX nodes. Authenticated operators can exploit shell metacharacters in approved commands to read unintended node-local files and expose sensitive configuration data.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawbefore 2026.5.18
Not affected: 2026.5.18
CVE List, NVD
openclaw (npm)before 2026.5.18GitHub Advisory Database

All scores

VulnCheck7.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
VulnCheck8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-78CWE-200CWE-284CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

OpenClaw before 2026.5.18 contains a policy enforcement vulnerability in system.run safe-bin allowlist validation that allows shell expansion to modify command interpretation on POSIX nodes. Authenticated operators can exploit shell metacharacters in approved commands to read unintended node-local files and expose sensitive configuration data.

GitHub Advisory Database
Summary

On POSIX nodes, OpenClaw's system.run safe-bin checks could approve a command before shell expansion changed how the command was interpreted. A value that appeared to be a safe-bin argument could expand into additional shell words and become a file operand.

This issue is limited to paired POSIX node execution through system.run with safe-bin or allowlist-style auto-approval. It is not an unauthenticated node takeover.

Affected configurations

This affects deployments where:

  • a POSIX node is paired to the gateway
  • system.run is reachable by an authenticated operator or agent flow
  • exec policy uses safe-bin or allowlist-based auto-approval
  • the approved command contains shell-expanded values that can change argv shape
Impact

A lower-privilege operator flow could cause an approved safe-bin command to read a node-local file that was not intended by the policy. Depending on the local files available to the node process, this could expose OpenClaw configuration data or other node-local information.

The issue is a policy-enforcement gap in argv validation, not a general statement that every safe-bin command is unsafe.

Patched Versions

The first stable patched version is 2026.5.18.

Mitigations

Upgrade to openclaw@2026.5.18 or later. Before upgrading, avoid broad safe-bin auto-approval for commands that can read arbitrary paths, and prefer explicit approval for node commands that touch local files.

NVD (es)

OpenClaw anterior a 2026.5.18 contiene una vulnerabilidad de aplicación de políticas en la validación de la lista de permitidos (allowlist) de safe-bin de system.run que permite la expansión de shell para modificar la interpretación de comandos en nodos POSIX. Los operadores autenticados pueden explotar metacaracteres de shell en comandos aprobados para leer archivos locales de nodo no deseados y exponer datos de configuración sensibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53831 changed 2026-06-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-mhq8-78pj-5j79 changed 2026-08-26CC-BY-4.0
NVDCVE-2026-53831 changed 2026-07-23Public domain