{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/50529?format=json","vulnerability_id":"VCID-b2ua-kc68-xkgj","summary":"OpenClaw Windows Scheduled Task script generation allowed local command injection via unsafe cmd argument handling\nOpenClaw Windows Scheduled Task script generation allowed unsafe argument handling in generated `gateway.cmd` files. In vulnerable versions, cmd metacharacter-only values could be emitted without safe quoting/escaping, which could lead to unintended command execution when the scheduled task runs.","aliases":[{"alias":"CVE-2026-31994"},{"alias":"GHSA-mqr9-vqhq-3jxw"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/74146?format=json","purl":"pkg:npm/openclaw@2026.2.19","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/openclaw@2026.2.19"}],"affected_packages":[],"references":[{"reference_url":"https://github.com/openclaw/openclaw","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw"},{"reference_url":"https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396"},{"reference_url":"https://www.vulncheck.com/advisories/openclaw-local-command-injection-via-unsafe-cmd-argument-handling-in-windows-scheduled-task","reference_id":"","reference_type":"","scores":[],"url":"https://www.vulncheck.com/advisories/openclaw-local-command-injection-via-unsafe-cmd-argument-handling-in-windows-scheduled-task"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31994","reference_id":"CVE-2026-31994","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31994"},{"reference_url":"https://github.com/advisories/GHSA-mqr9-vqhq-3jxw","reference_id":"GHSA-mqr9-vqhq-3jxw","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-mqr9-vqhq-3jxw"},{"reference_url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw","reference_id":"GHSA-mqr9-vqhq-3jxw","reference_type":"","scores":[],"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-mqr9-vqhq-3jxw"}],"weaknesses":[{"cwe_id":116,"name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-b2ua-kc68-xkgj"}