CVE-2026-22177
OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars
- State
- Published
- Severity
- 6.9 Medium
- Published
- Mar 18, 2026
- Updated
- Apr 8, 2026
- Reserved
- Jan 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L | VulnCheck |
Weaknesses
- CWE-15 External Control of System or Configuration Setting
Affected Products
| Product | Versions |
|---|---|
OpenClawOpenClaw |
|
References
- GitHub Security Advisory (GHSA-8fmp-37rc-p5g7)vendor-advisory
- Patch Commitvendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.varspatch
- https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-varsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.