CVE-2026-53822
JSON

8.7high

OpenClaw < 2026.5.18 - Command Argument Modification via Shell Wrapper Between Approval and Execution

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.08% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-2j8v-hwgc-x698

Description

OpenClaw before 2026.5.18 contains a command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.

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

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-77CWE-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 command injection vulnerability where shell wrapper argv could change between approval and execution. Attackers can rebuild command arguments after allowlist approval to execute unapproved command shapes, potentially bypassing security controls.

GitHub Advisory Database
Summary

Shell wrapper argv could change between approval and execution. In affected versions, a command request using a shell wrapper form could approve one resolved argv shape and rebuild another for execution.

This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.

Impact

When the affected feature is enabled and reachable, this could run a command shape that was not checked against the allowlist. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.

Patched Versions

The first stable patched version is 2026.5.18.

Mitigations

require explicit approval for shell wrappers and avoid durable allowlists for wrapper-heavy commands until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.

NVD (es)

OpenClaw anterior a 2026.5.18 contiene una vulnerabilidad de inyección de comandos donde el argv del wrapper de shell podría cambiar entre la aprobación y la ejecución. Los atacantes pueden reconstruir los argumentos de comandos después de la aprobación de la lista de permitidos para ejecutar estructuras de comandos no aprobadas, eludiendo potencialmente los controles de seguridad.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53822 changed 2026-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-2j8v-hwgc-x698 changed 2026-07-08CC-BY-4.0
NVDCVE-2026-53822 changed 2026-07-23Public domain