{"id":"CVE-2026-32003","published":"2026-03-19T22:06:43Z","modified":"2026-06-23T16:14:28Z","title":"OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.50408,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-2fgq-7j6h-9rm4","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/e80c803fa887f9699ad87a9e906ab5c1ff85bd9a","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-remote-code-execution-via-shellopts-ps4-environment-injection-in-system-run","tags":["third-party-advisory"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.2.22"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.2.22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-21T03:22:51.211319Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.2.22"],"patched":["2026.2.22"],"from":["GHSA-2fgq-7j6h-9rm4"],"provenance":"source"}],"summary":{"text":"The flaw is an environment variable injection in the system.run function of OpenClaw, affecting versions prior to 2026.2.22, which lets crafted SHELLOPTS and PS4 values escape the command allowlist. An attacker who can invoke system.run with request-scoped environment variables, and who holds high-privilege authentication with network access to the service, can execute arbitrary shell commands outside the allowlisted command through bash xtrace expansion; exploitation is noted as requiring a high-complexity attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:03Z"},"euvd":{"id":"EUVD-2026-13257","exploited":false,"provenance":"source"}}