{"id":"CVE-2026-31994","published":"2026-03-19T01:00:52Z","modified":"2026-06-23T16:14:22Z","title":"OpenClaw < 2026.2.19 - Local Command Injection via Unsafe cmd Argument Handling in Windows Scheduled Task Script…","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"OpenClaw versions prior to 2026.2.19 contain a local command injection vulnerability in Windows scheduled task script generation due to unsafe handling of cmd metacharacters and expansion-sensitive characters in gateway.cmd files. Local attackers with control over service script generation arguments can inject arbitrary commands by providing metacharacter-only values or CR/LF sequences that execute unintended code in the scheduled task context.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00664,"percentile":0.52665,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw","tags":["vendor-advisory"]},{"url":"https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/openclaw-local-command-injection-via-unsafe-cmd-argument-handling-in-windows-scheduled-task","tags":["third-party-advisory"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.53},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.2.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-19T16:08:52.427728Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.2.19"],"patched":["2026.2.19"],"from":["GHSA-mqr9-vqhq-3jxw"],"provenance":"source"}],"summary":{"text":"OpenClaw versions prior to 2026.2.19 contain a local command injection flaw in the Windows scheduled task script generation component, which mishandles cmd metacharacters and expansion-sensitive characters in gateway.cmd files. An attacker with local access who controls the arguments used to generate the service script can inject arbitrary commands, using metacharacter-only values or CR/LF sequences, that run in the scheduled task context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:31Z"},"euvd":{"id":"EUVD-2026-13027","exploited":false,"provenance":"source"}}