CVE-2026-32003 OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run

High 7.5 Published Updated

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.

PackageAffectedFixed in
openclaw npmAll versions2026.2.22
openclaw npmAll versions2026.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.

All Openclaw Openclaw vulnerabilities

Sources

Also known as GHSA-2fgq-7j6h-9rm4, MINI-g83c-g7f4-m8jm.

Is CVE-2026-32003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free