openclaw
Affected
- introduced
0, fixed2026.2.21(semver)
Fixed versions
2026.2.21
Fix
- Fixed version
2026.2.21npm install [email protected]
Advisory
Also known as: CVE-2026-22177
OpenClaw's config env vars allowed startup env injection into service runtime
Summary
OpenClaw allowed dangerous process-control environment variables from env.vars (for example NODE_OPTIONS, LD_*, DYLD_*) to flow into gateway service runtime environments, enabling startup-time code execution in the OpenClaw process context.
DetailscollectConfigEnvVars() accepted unfiltered keys from config and those values were merged into the daemon install environment in buildGatewayInstallPlan(). Before the fix, startup-control variables were not blocked in this path.
Affected Packages / Versions
openclaw (npm)2026.2.19-2 (published February 19, 2026)<=2026.2.19-2 || =2026.2.19>= 2026.2.21Fix Commit(s)
2cdbadee1f8fcaa93302d7debbfc529e19868ea4Release Process Notepatched_versions is pre-set to the planned next release (2026.2.21). Once that npm release is published, this advisory is ready to publish without further content edits.
OpenClaw thanks @tdjackey for reporting.
Medium Basis: The source's own band: MODERATE
0, fixed 2026.2.21 (semver)2026.2.21
2026.2.21npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0