Description
OpenClaw before 2026.3.31 allows workspace .env files to override the OPENCLAW_BUNDLED_PLUGINS_DIR environment variable, compromising plugin trust verification. Attackers with control over workspace configuration can inject malicious plugins by overriding the bundled plugin trust root directory.
Problem types
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Product status
Any version before 2026.3.31
2026.3.31 (semver)
Credits
Nathan (@nexrin)
KeenSecurityLab
qclawer
References
github.com/...enclaw/security/advisories/GHSA-qcj9-wwgw-6gm8 (GitHub Security Advisory (GHSA-qcj9-wwgw-6gm8))
github.com/...ommit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 (Patch Commit)
www.vulncheck.com/...-variable-override-of-plugin-trust-root (VulnCheck Advisory: OpenClaw < 2026.3.31 - Environment Variable Override of Plugin Trust Root)