Description
OpenClaw versions prior to 2026.2.2 contain an exec approvals (must be enabled) allowlist bypass vulnerability that allows attackers to execute arbitrary commands by injecting command substitution syntax. Attackers can bypass the allowlist protection by embedding unescaped $() or backticks inside double-quoted strings to execute unauthorized commands.
Published: 2026-03-05
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

OpenClaw versions older than 2026.2.2 have an exec approvals allowlist bypass that enables attackers to run arbitrary commands by injecting $() or backticks inside double‑quoted strings. The exploit allows the attacker to execute system commands that would normally be prohibited by the allowlist, leading to complete compromise of the affected system when exec approvals are enabled. The weakness is an OS command injection (CWE‑78) that can affect confidentiality, integrity, and availability.

Affected Systems

OpenClaw software, including all distributions of the open‑source project that ship with exec approvals enabled, is vulnerable if the installed version predates 2026.2.2. The affected product is the OpenClaw application built on Node.js, and the specific vulnerable releases are all those released before the 2026.2.2 update.

Risk and Exploitability

The CVSS score of 9.2 and an EPSS estimate below 1% indicate a high severity vulnerability with a low but non‑zero probability of exploitation. The risk is elevated in environments where the exec approvals feature is enabled, because an attacker can inject command substitution syntax to bypass the allowlist. The vulnerability can be exploited remotely if an attacker can supply input that is processed within double‑quoted strings, or locally through compromised credentials where the exec approvals functionality is active. Based on the description, it is inferred that the attacker must supply input that is evaluated inside double‑quoted strings, which could be achieved via an HTTP request or a local command line interface, so the attack vector is likely remote if user input is exposed. The vulnerability is not currently listed in the CISA KEV catalog.

Generated by OpenCVE AI on April 16, 2026 at 04:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.2.2 or later to address the allowlist bypass.
  • If upgrading is not immediately possible, disable the exec approvals feature or remove double‑quoted string inputs that contain command substitution syntax.
  • Ensure input validation or sanitization is applied to strip or escape $() and backticks in user‑supplied strings, and audit the configuration to maintain strict allowlist enforcement.

Generated by OpenCVE AI on April 16, 2026 at 04:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3hcm-ggvf-rch5 OpenClaw has an exec allowlist bypass via command substitution/backticks inside double quotes
History

Wed, 25 Mar 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Tue, 17 Mar 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-88

Tue, 17 Mar 2026 21:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 11 Mar 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78

Mon, 09 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 05 Mar 2026 22:15:00 +0000

Type Values Removed Values Added
Description OpenClaw versions prior to 2026.2.2 contain an exec approvals (must be enabled) allowlist bypass vulnerability that allows attackers to execute arbitrary commands by injecting command substitution syntax. Attackers can bypass the allowlist protection by embedding unescaped $() or backticks inside double-quoted strings to execute unauthorized commands.
Title OpenClaw < 2026.2.2 - Exec Allowlist Bypass via Command Substitution in Double Quotes
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-88
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-03-25T14:36:09.010Z

Reserved: 2026-02-27T19:19:18.125Z

Link: CVE-2026-28470

cve-icon Vulnrichment

Updated: 2026-03-09T18:03:03.650Z

cve-icon NVD

Status : Modified

Published: 2026-03-05T22:16:20.607

Modified: 2026-03-25T15:16:40.070

Link: CVE-2026-28470

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T04:45:16Z

Weaknesses