GitHub Advisoryadvisory · npm
GHSA-6f6j-wx9w-ff4j CpenClaw's ACPX Windows wrapper shell fallback allowed cwd injection in specific paths
CRITICAL
Official page ↗
- Aliases
- CVE-2026-31999
- Ecosystem
- npm
- Packages
- openclaw
- Severity
- Critical
- CVSS vector
- 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
- Weaknesses
- CWE-78
- Reviewed
- 2026-03-02
Affected packages
• npm openclaw: >= 2026.2.26, < 2026.3.1 → fixed in 2026.3.1
Description
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`
Related
Alias · CVE (1)
- CVE-2026-31999 OpenClaw versions 2026.2.26 prior to 2026.3.1 on Windows contain a current working directory injection vulnerability in wrapper resolution… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-6f6j-wx9w-ff4j web
- https://nvd.nist.gov/vuln/detail/CVE-2026-31999 advisory
- https://github.com/openclaw/openclaw package
- https://www.vulncheck.com/advisories/openclaw-current-working-directory-injection-via-windows-wrapper-resolution-fallback web