Description
OpenClaw before 2026.3.31 contains an exec allowlist bypass vulnerability allowing attackers to inherit allowlist trust via shell init-file wrapper invocations. Attackers can exploit shell options like --rcfile, --init-file, and --startup-file to load attacker-chosen initialization files while bypassing exec allowlist matching restrictions.
Problem types
CWE-184: Incomplete List of Disallowed Inputs
Product status
Any version before 2026.3.31
2026.3.31 (semver)
Credits
cyjhhh
References
github.com/...enclaw/security/advisories/GHSA-wpc6-37g7-8q4w (GitHub Security Advisory (GHSA-wpc6-37g7-8q4w))
github.com/...ommit/0c8375424620e12777ef24c162eedc7e9fcfd7e3 (Patch Commit)
www.vulncheck.com/...list-bypass-via-shell-init-file-options (VulnCheck Advisory: OpenClaw < 2026.3.31 - Exec Allowlist Bypass via Shell Init-File Options)