OpenClaw
OpenClaw < 2026.4.22 - Shell Expansion Bypass in Unquoted Heredocs via Exec Allowlist
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026.4.22
Fixed in 2026.4.22
Mitigation
Upgrade OpenClaw to 2026.4.22 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 33 days after publication; not in CISA KEV. First PoC: agenticdome/agenticdome-openclaw-security-ts (created 8 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| agenticdome/agenticdome-openclaw-security-ts | 8 Jun 2026 +33 d | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.