CVE-2026-22177 MEDIUM

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

Vendor Openclaw
Product OpenClaw
Weakness CWE-15
Published March 18, 2026
Last update April 8, 2026

CVSS base score

6.9/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 18, 2026 CVE published
April 8, 2026 Record updated