High severityNVD Advisory· Published Mar 19, 2026· Updated Mar 21, 2026
OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run
CVE-2026-32003
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.2.22 | 2026.2.22 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/openclaw/openclaw/commit/e80c803fa887f9699ad87a9e906ab5c1ff85bd9aghsapatchWEB
- github.com/advisories/GHSA-2fgq-7j6h-9rm4ghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-2fgq-7j6h-9rm4ghsathird-party-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-32003ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-remote-code-execution-via-shellopts-ps4-environment-injection-in-system-runghsathird-party-advisoryWEB
News mentions
0No linked articles in our index yet.