CVE-2026-31994
OpenClaw versions prior to 2026.2.19 contain a local command …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396
- github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw
- www.vulncheck.com/advisories/openclaw-local-command-injection-via-unsafe-cmd-argument-hand
- nvd.nist.gov/vuln/detail/CVE-2026-31994
- github.com/advisories/GHSA-mqr9-vqhq-3jxw
- nvd.nist.gov/vuln/detail/CVE-2026-31994
- cve.org/CVERecord?id=CVE-2026-31994
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.