Description
OpenClaw before 2026.4.22 contains an exec allowlist analysis vulnerability allowing shell expansion hiding in unquoted heredoc bodies. Attackers can bypass allowlist validation by embedding shell expansion tokens in heredoc bodies to execute unapproved commands at runtime.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.22 | 2026.4.22 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.22 | 2026.4.22 | GHSA-x3h8-jrgh-p8jx |
Advisories 1
- WID-SEC-2026-1253 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
References
- GitHub Security Advisory (GHSA-x3h8-jrgh-p8jx) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.22 - Shell Expansion Bypass in Unquoted Heredocs via Exec Allowlist third-party-advisory