OpenClaw Windows Scheduled Task script generation allowed local command injection via unsafe cmd argument handling
CVE-2026-31994 · GHSA-mqr9-vqhq-3jxw · published 2026-03-03 · updated 2026-03-19
- Severity
- High
- CVSS score
- 8.5
- Chance of exploitation (EPSS)
- 0.66%
- Fixed in
- 2026.2.19
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
This issue is local to Windows deployments and requires control over values that feed service script generation (for example install-time/runtime arguments or environment-derived values). It can result in unintended command execution in the scheduled task context.
Upgrade openclaw to 2026.2.19 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
280c6b117b2f0e24f398e5219048cd4cc3b82396 OpenClaw thanks @tdjackey for reporting.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| openclaw | npm | < 2026.2.19 | 2026.2.19 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- CriticalOpenClaw: QQBot admin commands could skip DM-only and allowFrom policyopenclaw
- CriticalOpenClaw: Feishu webhook and card-action validation now fail closedopenclaw
- CriticalOpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotationopenclaw
- CriticalOpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFileopenclaw
- CriticalOpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalationopenclaw
- CriticalOpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeoveropenclaw
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.