Description
OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
OpenClaw OpenClaw
Default version status: unaffected
0 to < 2026.2.21affected2026.2.21unaffected
pkg:npm/openclawReferences
- https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7 ↗
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr ↗
- https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4 ↗
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars ↗