Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-32003 EUVD-2026-13257GHSA-2fgq-7j6h-9rm4

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

Published Mar 19, 2026 · Updated Jun 23, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
OpenClaw OpenClaw < 2026.2.22 2026.2.22

Affected packages

EcosystemPackageAffectedFixedRecord
npm openclaw < 2026.2.22 2026.2.22 GHSA-2fgq-7j6h-9rm4

Advisories 1

References