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

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NVulnCheck
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LVulnCheck

Weaknesses

  • CWE-15 External Control of System or Configuration Setting

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.2.21Affected
  • 2026.2.21Not affected

References

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.