CVE-2026-53866: OpenClaw < 2026.5.12 - Allowlist Bypass in Shell Inline-Command Parsing

Published Jun 16, 2026
·
Updated

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

11 affected componentsFixes available
OpenClaw<2026.5.12
OpenClaw Openclaw Node.js<2026.5.12
OpenClaw Openclaw Node.js=2026.5.12-beta1
OpenClaw Openclaw Node.js=2026.5.12-beta2
OpenClaw Openclaw Node.js=2026.5.12-beta3
OpenClaw Openclaw Node.js=2026.5.12-beta4
OpenClaw Openclaw Node.js=2026.5.12-beta5
OpenClaw Openclaw Node.js=2026.5.12-beta6
OpenClaw Openclaw Node.js=2026.5.12-beta7
OpenClaw Openclaw Node.js=2026.5.12-beta8
npm/openclaw<=2026.5.10-beta.1
2026.5.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/openclaw to a version that resolves this vulnerability.

    Fixed in 2026.5.12
  2. 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
  3. Compensating control

    Require explicit approval for any shell inline-command forms until the environment is updated to OpenClaw 2026.5.12.

  4. Compensating control

    Keep channel and tool allowlists narrow to limit which commands and tools can be invoked, reducing exposure to unapproved shell content.

  5. Compensating control

    Avoid sharing a single Gateway between mutually untrusted users; segregate gateways or enforce stronger isolation between trust boundaries.

Event History

Jun 16, 2026
CVE Published
via MITRE·06:05 PM
Data Sourced
via MITRE·06:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software
Jun 18, 2026
Advisory Published
via GitHub·01:03 PM
Data Sourced
via GitHub·01:03 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53866?

The severity of CVE-2026-53866 is rated as high with a score of 8.1.

2

How do I fix CVE-2026-53866?

To fix CVE-2026-53866, update OpenClaw to version 2026.5.12 or later.

3

What type of vulnerability is CVE-2026-53866?

CVE-2026-53866 is an allowlist bypass vulnerability in shell inline-command parsing.

4

Who is affected by CVE-2026-53866?

Authenticated operators using OpenClaw versions before 2026.5.12 are affected by CVE-2026-53866.

5

What can attackers do with CVE-2026-53866?

Attackers can exploit CVE-2026-53866 to execute unapproved commands by bypassing the allowlist.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203