# CVE-2026-31999: OpenClaw 2026.2.26 < 2026.3.1 - Current Working Directory Injection via Windows Wrapper Resolution Fallback

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-03-02T21:55:05.000Z
- Modified: 2026-06-23T16:14:25.968Z
- Also known as: GHSA-6f6j-wx9w-ff4j
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: from 2026.2.26 before 2026.3.1 (not affected: 2026.3.1)
- openclaw (npm): from 2026.2.26 before 2026.3.1

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-6f6j-wx9w-ff4j> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openclaw-current-working-directory-injection-via-windows-wrapper-resolution-fallback> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31999> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-31999](https://www.cve.org/CVERecord?id=CVE-2026-31999), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-6f6j-wx9w-ff4j](https://github.com/advisories/GHSA-6f6j-wx9w-ff4j), CC-BY-4.0, modified 2026-03-20
- NVD: [CVE-2026-31999](https://nvd.nist.gov/vuln/detail/CVE-2026-31999), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31999 · Whole record: https://cve.day/CVE-2026-31999.json · Rebuilt by cve.day 2026-11-25T22:59:16.162Z
