CVE-2026-53866: OpenClaw < 2026.5.12 - Allowlist Bypass in Shell Inline-Command Parsing
Summary
Shell inline-command parsing could miss an allowlist check. In affected versions, a command request using shell inline-command forms could route an inline command through a parser case that did not receive the expected allowlist decision.
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 shell content without the intended approval or allowlist prompt. 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.12.
Mitigations
require approval for shell inline-command forms 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.
Other sources
OpenClaw before 2026.5.12 contains an allowlist bypass vulnerability in shell inline-command parsing that allows authenticated operators to execute unapproved commands. A command request using shell inline-command forms could route through a parser case missing the expected allowlist decision, enabling shell content execution without intended approval prompts.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/openclawto a version that resolves this vulnerability.Fixed in 2026.5.12 - Configuration
Disable the shell inline-command feature when it is not required to prevent potential allowlist bypass until systems are updated to 2026.5.12.
OpenClaw (shell inline-command feature) enabled = false - Compensating control
Require explicit approval for any shell inline-command forms until the environment is updated to OpenClaw 2026.5.12.
- Compensating control
Keep channel and tool allowlists narrow to limit which commands and tools can be invoked, reducing exposure to unapproved shell content.
- Compensating control
Avoid sharing a single Gateway between mutually untrusted users; segregate gateways or enforce stronger isolation between trust boundaries.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53866?
The severity of CVE-2026-53866 is rated as high with a score of 8.1.
How do I fix CVE-2026-53866?
To fix CVE-2026-53866, update OpenClaw to version 2026.5.12 or later.
What type of vulnerability is CVE-2026-53866?
CVE-2026-53866 is an allowlist bypass vulnerability in shell inline-command parsing.
Who is affected by CVE-2026-53866?
Authenticated operators using OpenClaw versions before 2026.5.12 are affected by CVE-2026-53866.
What can attackers do with CVE-2026-53866?
Attackers can exploit CVE-2026-53866 to execute unapproved commands by bypassing the allowlist.