Skip to main content

Openclaw EUVDEUVD-2026-13037

| CVE-2026-31999 MEDIUM
OS Command Injection (CWE-78)
2026-03-19 VulnCheck GHSA-6f6j-wx9w-ff4j
6.3
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 score of 6.3 (Medium) with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H indicates moderate overall risk with specific strengths and weaknesses. The local attack vector (AV:L) and high complexity (AC:H) reduce immediate exploitability, while the requirement for low privileges (PR:L) and lack of user interaction (UI:N) suggest that exploitation is feasible once a low-privileged account is compromised. The integrity and availability impacts are both high, meaning successful exploitation can corrupt system state or cause denial of service. Cross-referencing with KEV status shows this vulnerability is not currently listed as actively exploited in the wild, suggesting lower real-world priority than the CVSS score alone might imply. However, the presence of proof-of-concept code and public advisory increases future exploitation risk. The attack complexity being high (AC:H) is a mitigating factor—attackers must carefully craft conditions involving working directory manipulation, which is not trivial but feasible in multi-tenant or shared hosting environments. SSVC decision logic would classify this as having limited exploitability (requires local access and specific conditions) but high technical impact (integrity and availability), placing it in a moderate patch-soon priority tier rather than immediate critical status.

Exploit ScenarioDerived

An attacker with a low-privileged local account on a Windows system hosting OpenClaw creates a malicious .cmd or .bat file in a directory they control. When they trigger OpenClaw's wrapper resolution mechanism (through a legitimate application feature or API call) while their controlled directory is set as the current working directory, the vulnerability causes OpenClaw's fallback shell resolution to load and execute the attacker's malicious script instead of the intended wrapper, resulting in arbitrary command execution with OpenClaw's process privileges. This scenario is feasible in shared hosting environments, corporate networks with multiple users, or systems where local directory write access is granted to untrusted users, and the high complexity requirement means the attacker must carefully time the working directory manipulation to coincide with OpenClaw's wrapper resolution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 19, 2026

OpenClaw versions prior to 2026.3.1 contain a current working directory (cwd) injection vulnerability in Windows wrapper resolution for .cmd/.bat files that allows local attackers to manipulate command execution through directory control during shell fallback mechanisms. An authenticated local attacker with low privileges can exploit this vulnerability to achieve command execution integrity loss by controlling the working directory, potentially leading to unauthorized code execution or privilege escalation. While no active in-the-wild exploitation has been reported in KEV databases, the vulnerability is documented with a proof-of-concept available through the vendor's security advisory on GitHub.

RemediationAI

Upgrade OpenClaw to version 2026.3.1 or later immediately to patch the current working directory injection vulnerability. The vendor has released patched versions that properly sanitize cwd handling in wrapper resolution for .cmd/.bat files; consult the GitHub security advisory at https://github.com/openclaw/openclaw/security/advisories/GHSA-6f6j-wx9w-ff4j for detailed upgrade instructions specific to your deployment environment. Until patching is feasible, implement compensating controls by restricting local system access to trusted users only, isolating OpenClaw execution to dedicated non-shared directories with restricted permissions, and monitoring process execution logs for suspicious wrapper resolution behavior. On Windows systems, leverage AppLocker or similar mechanisms to restrict which processes can execute .cmd and .bat files, and enforce principle of least privilege for all accounts running OpenClaw services.

Affected VersionsENISA

OpenClaw 2026.2.26 <2026.3.1

Affected Packages

npm openclaw fix: 2026.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from improper handling of shell execution fallback mechanisms when OpenClaw resolves .cmd and .bat file wrappers on Windows systems. The root cause is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command), which describes inadequate sanitization of user-controlled input before passing it to OS command execution functions. The affected technology involves OpenClaw's wrapper resolution system, which falls back to shell execution (.cmd/.bat handling) without properly validating or isolating the current working directory. When an attacker controls the cwd during this resolution phase, they can influence which files are loaded or executed, bypassing intended execution paths. This is specific to Windows environments where shell wrapper resolution differs from Unix-like systems, and the vulnerability is confirmed to affect OpenClaw (CPE: cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:*:*:*) versions 2026.2.26 through versions prior to 2026.3.1.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 19, 2026 - 01:00 nvd
MEDIUM 6.3

DescriptionCVE.org

OpenClaw versions 2026.2.26 prior to 2026.3.1 on Windows contain a current working directory injection vulnerability in wrapper resolution for .cmd/.bat files that allows attackers to influence execution behavior through cwd manipulation. Remote attackers can exploit improper shell execution fallback mechanisms to achieve command execution integrity loss by controlling the current working directory during wrapper resolution.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on openclaw (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.2.26.

Executive ViewAI

Why It Matters

CVE-2026-31999 presents moderate security risk, a OS command injection vulnerability rated CVSS 6.3. Exploitation could allow attackers to execute code or inject malicious input. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Related Vulnerabilities in OpenClaw CWD and Execution Flaws

View all 2
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-53857 HIGH POC
8.6 Jun 16

Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-44118 HIGH POC
8.5 May 06

Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev

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-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

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