CVE-2026-53853: OpenClaw < 2026.5.12 - Argument Pattern Bypass in Exec Allowlist via Linux and macOS

Published Jun 16, 2026
·
Updated

Summary

OpenClaw's exec allowlist supported optional argPattern entries to restrict the arguments accepted for an allowlisted executable. In affected releases, Linux and macOS gateways skipped argPattern checks and treated a matching executable path as sufficient to satisfy the allowlist.

This meant an operator could configure an allowlist entry that appeared to permit only a narrow argv shape, but OpenClaw would allow other argv for the same executable without an approval prompt when tools.exec.security was set to allowlist.

This issue is limited to direct enforcement of configured argPattern values. OpenClaw's exec approvals remain best-effort guardrails and do not attempt to semantically model every interpreter, loader, package script, shell feature, or transitive file a command may use.

Affected configurations

This affects OpenClaw gateway deployments that meet all of these conditions:

- the gateway runs on Linux or macOS - exec is configured with tools.exec.security: "allowlist" - at least one exec allowlist entry uses argPattern - the allowlisted executable accepts security-relevant arguments or flags

Path-only allowlist entries are not additionally affected by this issue, because those entries intentionally allow any arguments for the matched executable. Windows was not affected by this specific bug because the affected code path already applied argPattern checks on Windows.

Impact

If an untrusted or lower-trust sender can influence a tool-enabled agent to call exec, they may be able to run disallowed arguments for an executable that the operator intended to restrict with argPattern. Depending on the executable, those arguments can cause host-side file access, network access, or command execution that should have required an approval prompt.

The practical impact depends on the operator's allowlist and channel exposure. Examples of higher-risk allowlisted executables include tools with interpreter, loader, subprocess, network, or plugin flags such as git, python, node, bash, find, tar, and ssh.

This is not a bypass of all exec approval semantics. It is a bypass of the direct argPattern predicate that the operator configured and that the exec tool description advertised as enforced at runtime.

Patched Versions

The first stable patched version is 2026.5.12.

Mitigations

Upgrade to openclaw@2026.5.12 or later. Before upgrading, operators who use exec allowlist mode should review entries that combine an executable path with argPattern, especially for interpreter-like or subprocess-capable tools.

Other sources

OpenClaw before 2026.5.12 contains an argument pattern validation bypass in the exec allowlist that allows attackers to execute disallowed arguments for allowlisted executables on Linux and macOS systems. Attackers can bypass configured argPattern restrictions by directly invoking allowlisted executables with unrestricted arguments, potentially enabling unauthorized file access, network access, or command execution.

NVD

Affected Software

11 affected componentsFixes available
OpenClaw 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.12
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. Operational

    Before upgrading, review all exec allowlist entries that combine an executable path with the argPattern predicate (i.e., when tools.exec.security is set to "allowlist"). Pay special attention to entries for interpreter-like or subprocess-capable tools (examples: git, python, node, bash, find, tar, ssh) and identify any entries where untrusted or lower-trust senders could influence arguments that lead to host file access, network access, or command execution. Document those risky entries for remediation prior to or alongside the upgrade to openclaw@2026.5.12.

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·08:33 PM
Data Sourced
via GitHub·08:33 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53853?

CVE-2026-53853 has a high severity score of 7.6.

2

How do I fix CVE-2026-53853?

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

3

What is the risk associated with CVE-2026-53853?

The risk associated with CVE-2026-53853 is rated as 69, indicating a significant potential impact.

4

What systems are affected by CVE-2026-53853?

CVE-2026-53853 affects OpenClaw versions prior to 2026.5.12 on Linux and macOS systems.

5

What kind of attack does CVE-2026-53853 allow?

CVE-2026-53853 allows an argument pattern bypass in the exec allowlist, potentially enabling unauthorized command execution.

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