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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.21 | 2026.2.21 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.2.21 | 2026.2.21 | GHSA-8fmp-37rc-p5g7 |
Advisories 1
- WID-SEC-2026-0472 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 12, 2026
References
- GitHub Security Advisory (GHSA-8fmp-37rc-p5g7) vendor-advisory
- GitHub Security Advisory (GHSA-w9j9-w4cp-6wgr) vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars patch
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars third-party-advisory