CVE-2026-22179

OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run

Published Mar 18, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
Description
OpenClaw versions prior to 2026.2.22 in macOS node-host system.run contain an allowlist bypass vulnerability that allows remote attackers to execute non-allowlisted commands by exploiting improper parsing of command substitution tokens. Attackers can craft shell payloads with command substitution syntax within double-quoted text to bypass security restrictions and execute arbitrary commands on the system.

Analysis

AI-generated

Technical impact

OpenClaw versions prior to 2026.2.22 on macOS node-host contain an allowlist bypass that enables remote attackers to execute commands not on the allowlist by using command substitution inside double‑quoted strings. The vulnerability stems from improper parsing of command substitution tokens, leading to arbitrary command execution. The weakness corresponds to CWE‑78, which describes code injection through operating system command execution.

Affected Systems

The affected vendor is OpenClaw; the product is OpenClaw. All releases earlier than version 2026.2.22 are vulnerable. The CPE identifier is cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*. Users should upgrade to version 2026.2.22 or later to resolve the flaw.

Risk and Exploitability

The vulnerability has a CVSS score of 7.5, indicating high severity, but the EPSS score is not available and it is not listed in KEV, suggesting limited public exploitation data. The likely attack vector is remote, where an attacker crafts a shell payload containing command substitution syntax within double‑quoted text to bypass the allowlist. Once executed, the attacker can run arbitrary system commands, compromising confidentiality, integrity, and availability of the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.2.22 or newer
  • If an immediate upgrade is not possible, restrict the use of system.run to only allowlisted commands and disable command substitution parsing
  • Limit remote access to the node‑host and monitor logs for suspicious command executions

Generated by OpenCVE AI on March 18, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9p38-94jf-hgjj OpenClaw has macOS `system.run` allowlist bypass via quoted command substitution
History
Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OpenClaw versions prior to 2026.2.22 in macOS node-host system.run contain an allowlist bypass vulnerability that allows remote attackers to execute non-allowlisted commands by exploiting improper parsing of command substitution tokens. Attackers can craft shell payloads with command substitution syntax within double-quoted text to bypass security restrictions and execute arbitrary commands on the system.
Title OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-78
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 23, 2026, 4:13 PM
Reserved
Jan 6, 2026, 4:47 PM
Status
Modified
Published
Mar 18, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:19 AM