Skip to main content

Openclaw CVE-2026-32056

| EUVDEUVD-2026-13958 HIGH
OS Command Injection (CWE-78)
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
PoC Detected
Mar 23, 2026 - 18:59 vuln.today
Public exploit code
EUVD ID Assigned
Mar 21, 2026 - 01:00 euvd
EUVD-2026-13958
Analysis Generated
Mar 21, 2026 - 01:00 vuln.today
Patch released
Mar 21, 2026 - 01:00 nvd
Patch available
CVE Published
Mar 21, 2026 - 00:42 nvd
HIGH 7.5

DescriptionCVE.org

OpenClaw versions prior to 2026.2.22 fail to sanitize shell startup environment variables HOME and ZDOTDIR in the system.run function, allowing attackers to bypass command allowlist protections. Remote attackers can inject malicious startup files such as .bash_profile or .zshenv to achieve arbitrary code execution before allowlist-evaluated commands are executed.

AnalysisAI

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run function that allows attackers to bypass command allowlist protections. Authenticated remote attackers with low privileges can inject malicious shell startup files (.bash_profile, .zshenv) via unsanitized HOME and ZDOTDIR variables to achieve arbitrary code execution before allowlisted commands execute. A patch is available from the vendor via GitHub commit c2c7114ed39a547ab6276e1e933029b9530ee906.

Technical ContextAI

The vulnerability affects OpenClaw (cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*), specifically the system.run function which executes shell commands. This is a classic CWE-78 (Improper Neutralization of Special Elements used in an OS Command) vulnerability where shell environment variables HOME and ZDOTDIR are not sanitized before spawning shell processes. Unix shells read configuration files from paths specified by these variables during startup, executing any code within them before the actual command runs. By controlling these variables, attackers can point the shell to attacker-controlled directories containing malicious .bash_profile, .bashrc, .zshenv, or similar startup files, effectively bypassing any command allowlist checks that only examine the command string itself.

RemediationAI

Upgrade OpenClaw to version 2026.2.22 or later, which contains the fix for environment variable sanitization in the system.run function (see patch at https://github.com/openclaw/openclaw/commit/c2c7114ed39a547ab6276e1e933029b9530ee906 and security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-xgf2-vxv2-rrmg). Until patching is complete, implement compensating controls such as restricting network access to OpenClaw instances to trusted IP ranges only, limiting user privileges to minimize the pool of potential attackers who meet the PR:L requirement, and if possible, avoiding the system.run function entirely or implementing additional input validation that blocks manipulation of HOME and ZDOTDIR variables. Review logs for suspicious environment variable manipulation attempts targeting shell startup file paths.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-32064 HIGH POC
7.7 Mar 21

OpenClaw sandbox browser functionality launches x11vnc for noVNC observer sessions without requiring authentication, all

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

CVE-2026-32048 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low

CVE-2026-25474 HIGH POC
7.5 Feb 19

OpenClaw versions 2026.1.30 and below fail to validate Telegram webhook secret tokens when `channels.telegram.webhookSec

CVE-2026-28448 HIGH POC
7.3 Mar 05

OpenClaw versions before 2026.2.1 fail to properly validate access controls in the Twitch plugin when role restrictions

Share

CVE-2026-32056 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy