CVE-2026-22177
OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars
CVSS Score
6.1
EPSS Score
0.1%
EPSS Percentile
15th
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.
| CWE | CWE-15 |
| Vendor | openclaw |
| Product | openclaw |
| Published | Mar 18, 2026 |
| Last Updated | Apr 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for openclaw openclaw
Be the first to know when new medium vulnerabilities affecting openclaw openclaw are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
Affected Versions
OpenClaw / OpenClaw
0 < 2026.2.21
References
github.com: https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7 github.com: https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr github.com: https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4 vulncheck.com: https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars
Credits
tdjackey Zhijie Zhang