CVE-2026-32003 OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run
HighCVSS 7.5
EPSS 0.94%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
OpenClaw versions prior to 2026.2.22 contain an environment variable injection vulnerability in the system.run function that allows attackers to bypass command allowlist restrictions via SHELLOPTS and PS4 environment variables. An attacker who can invoke system.run with request-scoped environment variables can execute arbitrary shell commands outside the intended allowlisted command body through bash xtrace expansion.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.2.22 | 2026.2.22 | Fixed |
| npm openclaw(npm) | < 2026.2.22 | 2026.2.22 | Fixed |
| openclaw | < 2026.2.22 | 2026.2.22 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.2.22 | 2026.2.22 |
| npm openclaw(npm) | < 2026.2.22 | 2026.2.22 |
| openclaw | < 2026.2.22 | 2026.2.22 |
References
- GitHub Security Advisory (GHSA-2fgq-7j6h-9rm4) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product