openclaw/openclaw · Security
OpenClaw has an exec allowlist bypass via command substitution/backticks inside double quotes
- GHSA ID
- GHSA-3hcm-ggvf-rch5
- CVE ID
- CVE-2026-28470
- Severity
- high
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 7.4 · CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-3hcm-ggvf-rch5 ↗
- https://github.com/openclaw/openclaw/commit/d1ecb46076145deb188abcba8f0699709ea17198 ↗
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.2 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-28470 ↗
- https://www.vulncheck.com/advisories/openclaw-exec-allowlist-bypass-via-command-substitution-in-double-quotes ↗
- https://github.com/advisories/GHSA-3hcm-ggvf-rch5 ↗