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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| OpenClaw | OpenClaw | < 2026.2.21 |
References
- https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4Patch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7Vendor Advisory
- https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-varsThird Party Advisory
Timeline
- Published
- Mar 18, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Modified