Description
OpenClaw before 2026.3.22 contains an incomplete host environment variable sanitization vulnerability in host-env-security-policy.json and host-env-security.ts that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.
Problem types
CWE-183: Permissive List of Allowed Inputs
Product status
Any version before 2026.3.22
2026.3.22 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-j7p2-qcwm-94v4 (GitHub Security Advisory (GHSA-j7p2-qcwm-94v4))
www.vulncheck.com/...ncomplete-host-environment-sanitization (VulnCheck Advisory: OpenClaw < 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitization)