Home

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.

PUBLISHED Reserved 2026-01-06 | Published 2026-03-18 | Updated 2026-04-08 | Assigner VulnCheck




MEDIUM: 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

MEDIUM: 6.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Problem types

CWE-15: External Control of System or Configuration Setting

Product status

Default status
unaffected

Any version before 2026.2.21
affected

2026.2.21 (semver)
unaffected

Credits

tdjackey finder

Zhijie Zhang finder

References

github.com/...enclaw/security/advisories/GHSA-8fmp-37rc-p5g7 (GitHub Security Advisory (GHSA-8fmp-37rc-p5g7)) vendor-advisory

github.com/...enclaw/security/advisories/GHSA-w9j9-w4cp-6wgr (Patch Commit) vendor-advisory

github.com/...ommit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4 (VulnCheck Advisory: OpenClaw < 2026.2.21 - Environment Variable Injection via Config env.vars) patch

www.vulncheck.com/...-variable-injection-via-config-env-vars third-party-advisory

cve.org (CVE-2026-22177)

nvd.nist.gov (CVE-2026-22177)

Download JSON