{"id":"CVE-2026-31999","aliases":["CVE-2026-31999","GHSA-6f6j-wx9w-ff4j"],"related":[],"kind":"vulnerability","state":"published","title":"OpenClaw 2026.2.26 < 2026.3.1 - Current Working Directory Injection via Windows Wrapper Resolution Fallback","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nOn Windows ACPX paths, wrapper resolution for `.cmd`/`.bat` could fall back to shell execution in ways that allowed `cwd` influence to alter execution behavior.\n\n### Impact\nIn affected Windows ACPX configurations, this could enable command execution integrity loss through cwd-influenced wrapper resolution.\n\n### Fix\nWrapper 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.\n\n### Affected and Patched Versions\n- Affected: `>= 2026.2.26, < 2026.3.1`\n- Patched: `2026.3.1`","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenClaw versiones 2026.2.26 anteriores a 2026.3.1 en Windows contienen una vulnerabilidad de inyección del directorio de trabajo actual en la resolución de wrappers para archivos .cmd/.bat que permite a los atacantes influir en el comportamiento de ejecución a través de la manipulación del cwd. Los atacantes remotos pueden explotar mecanismos de reserva de ejecución de shell inadecuados para lograr la pérdida de integridad en la ejecución de comandos al controlar el directorio de trabajo actual durante la resolución de wrappers.","source":"nvd"}],"published":"2026-03-02T21:55:05.000Z","modified":"2026-06-23T16:14:25.968Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"2026.2.26","fixed":"2026.3.1","status":"affected"},{"type":"semver","version":"2026.3.1","status":"unaffected"}],"vendor":"OpenClaw","product":"OpenClaw","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2026.2.26","status":"affected","fixed":"2026.3.1"}],"ecosystem":"npm","package":"openclaw","purl":"pkg:npm/openclaw","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2026.2.26","fixed":"2026.3.1"}],"vendor":"openclaw","product":"openclaw","cpe":"cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-6f6j-wx9w-ff4j","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/openclaw-current-working-directory-injection-via-windows-wrapper-resolution-fallback","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31999","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openclaw/openclaw","tags":["package"],"sources":["ghsa"]}],"credits":["tdjackey"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-23T16:45:02.360Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31999","url":"https://www.cve.org/CVERecord?id=CVE-2026-31999","licence":"CVE Terms of Use","modified":"2026-06-23T16:14:25.968Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6f6j-wx9w-ff4j","url":"https://github.com/advisories/GHSA-6f6j-wx9w-ff4j","licence":"CC-BY-4.0","modified":"2026-03-20T21:56:22.364Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31999","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31999","licence":"Public domain","modified":"2026-06-17T10:34:54.627Z"}],"updatedAt":"2026-11-25T22:59:16.162Z","epss":{"score":0.0028,"percentile":0.22047,"date":"2026-12-01T12:00:22.000Z"}}