CVE-2026-32003 OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run
Attackers can execute arbitrary shell commands by injecting SHELLOPTS and PS4 environment variables into the system.run function, bypassing allowlists.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-32003?
CVE-2026-32003 is a high-severity command injection vulnerability in Openclaw Openclaw, published on 19 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-32003?
2 open source packages ship an affected version, including openclaw. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
openclaw npm | All versions | 2026.2.22 |
openclaw npm | All versions | 2026.2.22 |
Products include Openclaw Openclaw.
How do I fix CVE-2026-32003?
Upgrade openclaw to 2026.2.22 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-32003 being exploited?
There is no known exploitation of CVE-2026-32003 in the wild and no public exploit code.
Other vulnerabilities in Openclaw Openclaw
- CVE-2026-28363 Security feature bypass in OpenClaw
- CVE-2026-30741 Code injection in n/a
- CVE-2026-33579 OpenClaw < 2026.3.28 - Privilege Escalation via Missing Caller Scope Validation in Device Pair Approval
- CVE-2026-32922 OpenClaw < 2026.3.11 - Privilege Escalation via Unvalidated Scope in device.token.rotate
- CVE-2026-32978 OpenClaw < 2026.3.11 - Approval Bypass via Unrecognized Script Runners
Sources
Also known as GHSA-2fgq-7j6h-9rm4, MINI-g83c-g7f4-m8jm.