{"id":"CVE-2026-22177","published":"2026-03-18T01:34:21Z","modified":"2026-11-08T14:01:09Z","title":"OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00569,"percentile":0.40912,"provenance":"source"},"cwes":[{"id":"CWE-15","name":"External Control of System or Configuration Setting"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-w9j9-w4cp-6wgr","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars","tags":["third-party-advisory"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.18},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.2.21"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.2.21"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-18T19:48:30.916488Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.2.21"],"patched":["2026.2.21"],"from":["GHSA-8fmp-37rc-p5g7"],"provenance":"source"}],"summary":{"text":"The flaw is in OpenClaw's handling of configuration: versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from the config env.vars setting. An attacker who can write to that configuration can inject variables such as NODE_OPTIONS or LD_* to execute arbitrary code in the OpenClaw gateway service runtime at startup, requiring local access with low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:23Z"},"euvd":{"id":"EUVD-2026-12720","exploited":false,"provenance":"source"}}