openclaw
Affected
- introduced
0, fixed2026.2.22(semver)
Fixed versions
2026.2.22
Fix
- Fixed version
2026.2.22npm install [email protected]
Advisory
Also known as: CVE-2026-32032
OpenClaw's shell env fallback trusts unvalidated SHELL path from host environment
The shell environment fallback path could invoke an attacker-controlled shell when SHELL was inherited from an untrusted host environment. In affected builds, shell-env loading used $SHELL -l -c 'env -0' without validating that SHELL points to a trusted executable.
In threat-model terms, this requires local environment compromise or untrusted startup environment injection first; it is not a remote pre-auth path. The hardening patch validates SHELL as an absolute normalized executable, prefers /etc/shells, applies trusted-prefix fallback checks, and falls back safely to /bin/sh when validation fails. The dangerous env-var policy now also blocks SHELL overrides.
Affected Packages / Versions
openclaw (npm)<= 2026.2.21-22026.2.21-2>= 2026.2.22Fix Commit(s)
25e89cc86338ef475d26be043aa541dfdb95e52aRelease Process Note
The advisory pre-sets patched_versions to the planned next release (2026.2.22). After that npm release is published, maintainers can publish this advisory without further version-field edits.
OpenClaw thanks @athuljayaram for reporting.
High Basis: The source's own band: HIGH
0, fixed 2026.2.22 (semver)2026.2.22
2026.2.22npm 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