OpenClaw's exec allowlist analysis rejects shell expansion in unquoted heredocs
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.
Summary
## Summary Exec allowlist analysis rejects shell expansion in unquoted heredocs ## Affected Packages / Versions - Package: openclaw (npm) - Affected versions: <= 2026.4.21 - Fixed version: 2026.4.22 ## Impact An allowlisted command containing an unquoted heredoc could hide shell expansion in the heredoc body. That could make the approved command text look safer than what the shell would evaluate at runtime. ## Fix The exec command analyzer now tracks heredoc bodies, rejects unquoted heredoc expansion tokens and continuation-splice bypasses, and preserves quoted heredocs and literal safe text. ## Fix Commit(s) - b2e8b7d4bb2f22eaa16f5c4b07547774e90b65a5 ## Verification - The fix commit is contained in the public v2026.4.22 tag. - [email protected] is published on npm and the compiled package contains the fix. - Focused regression coverage for this path passed before publication. Thanks @VladimirEliTokarev for reporting.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | openclaw (npm) | before 2026.4.22 | 2026.4.22 | Patch available | GHSA-x3h8-jrgh-p8jx |
- openclaw (npm) Vendor— Affected before 2026.4.22 Fixed in 2026.4.22 Patch available GHSA-x3h8-jrgh-p8jx
Remediation
- Fix · GHSA-x3h8-jrgh-p8jx openclaw (npm) Fixed in 2026.4.22 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-x3h8-jrgh-p8jx
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences