What’s Vulnerable › Vulnerabilities

CVE-2026-22177: OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars

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

How to fix

Upgrade to a fixed version: OpenClaw 2026.2.21. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22177 or the next vulnerability affects your stack