Security mailing lists by PureSourceCode

CVE-2026-22176

MEDIUM 6.9CVSS 4.0

OpenClaw has a Command Injection via unescaped environment assignments in Windows Scheduled Task script generation

OpenClaw versions prior to 2026.2.19 contain a command injection vulnerability in Windows Scheduled Task script generation where environment variables are written to gateway.cmd using unquoted set KEY=VALUE assignments, allowing shell metacharacters to break out of assignment context. Attackers can inject arbitrary commands through environment variable values containing metacharacters like &, |, ^, %, or ! to achieve command execution when the scheduled task script is generated and executed.

Published
19 Mar 2026
Last modified
17 Jun 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-pj5x-38rw-6fph
Sources
NVDJSONOSV GHSA-pj5x-38rw-6fphJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 6.9 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openclaw openclaw
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
< 2026.2.19 2026.2.19
OSV npm openclaw < 2026.2.19 2026.2.19

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.