Loading...
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

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 (224 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
openclaw
npm
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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6f6j-wx9w-ff4j

Related CVEs

  • CVE-2026-41294
    CRITICAL

    OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover

  • CVE-2026-22172
    CRITICAL

    OpenClaw: WebSocket shared-auth connections could self-declare elevated scopes

  • CVE-2026-43571
    HIGH

    OpenClaw: Channel setup catalog lookups could include untrusted workspace plugin shadows

  • CVE-2026-32060
    HIGH

    OpenClaw has a path traversal in apply_patch could write/delete files outside the workspace

  • CVE-2026-32914
    HIGH

    OpenClaw: Command-authorized non-owners could reach owner-only `/config` and `/debug` surfaces

  • CVE-2026-28469
    HIGH

    OpenClaw Google Chat shared-path webhook target ambiguity allowed cross-account policy-context misrouting

  • CVE-2026-53838
    MEDIUM

    OpenClaw: Node pairing reconnection could confuse approval scope state

  • CVE-2026-22177
    MEDIUM

    OpenClaw's config env vars allowed startup env injection into service runtime

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies