OpenClaw < 2026.2.22 - Remote Code Execution via SHELLOPTS/PS4 Environment Injection in system.run
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenClaw | OpenClaw | before 2026.2.22 | 2026.2.22 | Patch available | CNA |
| — | openclaw (npm) | before 2026.2.22 | 2026.2.22 | Patch available | GHSA-2fgq-7j6h-9rm4 |
- OpenClaw VendorOpenClaw Affected before 2026.2.22 Fixed in 2026.2.22 Patch available CNA
- openclaw (npm) Vendor— Affected before 2026.2.22 Fixed in 2026.2.22 Patch available GHSA-2fgq-7j6h-9rm4
Remediation
- Fix · CNA OpenClaw (OpenClaw) Fixed in 2026.2.22
- Fix · GHSA-2fgq-7j6h-9rm4 openclaw (npm) Fixed in 2026.2.22 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
OpenClaw 2026.2.22
15 records Highest priority Priority LOW 15 LOW
Other records, highest priority first
- TI-2026-23341 OpenClaw < 2026.2.22 - Authorization Bypass via allow-always Wrapper PersistencePriority LOW 34
- TI-2026-24573 OpenClaw < 2026.2.22 - Arbitrary Shell Execution via Unvalidated SHELL Environment VariablePriority LOW 33
- TI-2026-24562 OpenClaw < 2026.2.22 - Authorization Bypass via Display Name Collision in Feishu allowFromPriority LOW 33
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32003
- 2026-10-03 Alias added: GHSA-2fgq-7j6h-9rm4
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More Openclaw vulnerabilities
- TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
- TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
- TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
- TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
- TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
- TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
Sources
- CVE-2026-32003 · CVE Program
- CVE-2026-32003 · NVD
- FIRST EPSS
- GHSA-2fgq-7j6h-9rm4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences