CVE-2026-32003
Received Received - Intake

Environment Variable Injection in OpenClaw system.run Enables Command Bypass

Vulnerability report for CVE-2026-32003, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-19

Last updated on: 2026-03-23

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-19
Last Modified
2026-03-23
Generated
2026-07-06
AI Q&A
2026-03-20
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openclaw openclaw to 2026.2.22 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

OpenClaw versions prior to 2026.2.22 have a vulnerability in the system.run function where attackers can inject environment variables. This allows them to bypass command allowlist restrictions by exploiting the SHELLOPTS and PS4 environment variables. Essentially, if an attacker can invoke system.run with environment variables scoped to a request, they can execute arbitrary shell commands outside the intended allowed commands by leveraging bash's xtrace expansion feature.

Impact Analysis

This vulnerability can allow an attacker with the ability to invoke system.run to execute arbitrary shell commands beyond the intended restrictions. This can lead to unauthorized command execution, potentially compromising the confidentiality, integrity, and availability of the affected system.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-32003. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart