CVE-2026-28470
JSON

9.2critical

OpenClaw < 2026.2.2 - Exec Allowlist Bypass via Command Substitution in Double Quotes

Severity
9.2critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-3hcm-ggvf-rch5

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.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawbefore 2026.2.2CVE List, NVD
openclaw (npm)before 2026.2.2GitHub Advisory Database

All scores

VulnCheck9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-78CWE-88

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

Exec approvals allowlist bypass via command substitution/backticks inside double quotes.

Affected Packages / Versions
  • Package: openclaw (npm)
  • Affected: <= 2026.2.1
  • Fixed: >= 2026.2.2
Impact

Only affects setups that explicitly enable the optional exec approvals allowlist feature. Default installs are unaffected.

Fix

Reject unescaped $() and backticks inside double quotes during allowlist analysis.

Fix Commit(s)
  • d1ecb46076145deb188abcba8f0699709ea17198

Thanks @simecek for reporting.

NVD (es)

Las versiones de OpenClaw anteriores a 2026.2.2 contienen una vulnerabilidad de omisión de la lista de permitidos (allowlist) de las aprobaciones de ejecución (que deben estar habilitadas) que permite a los atacantes ejecutar comandos arbitrarios inyectando sintaxis de sustitución de comandos. Los atacantes pueden omitir la protección de la lista de permitidos (allowlist) incrustando $() o comillas invertidas sin escapar dentro de cadenas entre comillas dobles para ejecutar comandos no autorizados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-28470 changed 2026-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-3hcm-ggvf-rch5 changed 2026-03-06CC-BY-4.0
NVDCVE-2026-28470 changed 2026-06-17Public domain