Duplicate Advisory: OpenClaw's shell startup env injection bypasses system.run allowlist intent (RCE class)
High severity
GitHub Reviewed
Published
Mar 21, 2026
to the GitHub Advisory Database
•
Updated Mar 24, 2026
Withdrawn
This advisory was withdrawn on Mar 24, 2026
Description
Published by the National Vulnerability Database
Mar 21, 2026
Published to the GitHub Advisory Database
Mar 21, 2026
Reviewed
Mar 24, 2026
Withdrawn
Mar 24, 2026
Last updated
Mar 24, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-xgf2-vxv2-rrmg. This link is maintained to preserve external references.
Original Description
OpenClaw versions prior to 2026.2.22 fail to sanitize shell startup environment variables HOME and ZDOTDIR in the system.run function, allowing attackers to bypass command allowlist protections. Remote attackers can inject malicious startup files such as .bash_profile or .zshenv to achieve arbitrary code execution before allowlist-evaluated commands are executed.
References