Skip to main content

CVE-2026-31999 — Vulnerability in openclaw — CVE Details

CRITICAL

CpenClaw's ACPX Windows wrapper shell fallback allowed cwd injection in specific paths

Published March 2, 2026Updated March 20, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.43%). Schedule for your next planned update.

Does your project use an affected openclaw version?

Paste your package-lock.json to check it for CVE-2026-31999 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

Summary

On Windows ACPX paths, wrapper resolution for .cmd/.bat could fall back to shell execution in ways that allowed cwd influence to alter execution behavior.

Impact

In affected Windows ACPX configurations, this could enable command execution integrity loss through cwd-influenced wrapper resolution.

Fix

Wrapper resolution now prefers explicit PATH/PATHEXT entrypoint resolution and unwrapped Node/EXE execution, with strict fail-closed handling enabled by default for unresolvable wrapper cases.

Affected and Patched Versions

  • Affected: >= 2026.2.26, < 2026.3.1
  • Patched: 2026.3.1

Advisory Timeline

  • First published March 2, 2026 (269 days ago).
  • Last revised March 20, 2026 — 18 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update openclaw to 2026.3.1 or later
npm install openclaw@2026.3.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageFixed In
openclaw npm · Affected: All versions2026.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

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

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2026-31999?
CpenClaw's ACPX Windows wrapper shell fallback allowed cwd injection in specific paths. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-31999?
CVE-2026-31999 affects openclaw. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-31999 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.43%
EPSS percentile: 29.4

This is a below-median EPSS score — only 29.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-6f6j-wx9w-ff4j

Related CVEs

  • CVE-2026-28363
    CRITICAL

    OpenClaw is vulnerable to validation bypass through GNU long-option abbreviations in allowlist mode

  • CVE-2026-53811
    HIGH

    OpenClaw: Matrix allowFrom could bind to mutable display names

  • CVE-2026-28391
    HIGH

    OpenClaw's Windows cmd.exe parsing may bypass exec allowlist/approval gating

  • CVE-2026-53821
    HIGH

    OpenClaw: Trusted-proxy Control UI WebSocket accepted client-declared scopes before pairing

  • CVE-2026-35669
    HIGH

    OpenClaw: Gateway Plugin HTTP Auth Grants Unrestricted operator.admin Runtime Scope to All Callers

  • CVE-2026-35666
    HIGH

    OpenClaw's system.run allowlist can be bypassed through an unregistered time dispatch wrapper

  • CVE-2026-43534
    MEDIUM

    OpenClaw: Agent hook events could enqueue trusted system events from unsanitized external input

  • CVE-2026-43531
    MEDIUM

    OpenClaw: Workspace .env could inject OpenClaw runtime-control variables

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json