Description
OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.
Problem types
CWE-15: External Control of System or Configuration Setting
Product status
Any version before 2026.4.9
2026.4.9 (semver)
Credits
zsx (@zsxsoft)
KeenSecurityLab
References
github.com/...enclaw/security/advisories/GHSA-7wv4-cc7p-jhxc (GitHub Security Advisory (GHSA-7wv4-cc7p-jhxc))
github.com/...ommit/dbfcef319618158fa40b31cdac386ea34c392c0c (Patch Commit)
www.vulncheck.com/...riable-injection-via-workspace-env-file (VulnCheck Advisory: OpenClaw < 2026.4.9 - Environment Variable Injection via Workspace .env File)