NetSight
medium6.1No CVE yet

GHSA-82gw-wqw6-r2cf

Duplicate Advisory: Command Injection via unescaped environment assignments in Windows Scheduled Task script generation

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-pj5x-38rw-6fph. This link is maintained to preserve external references. ## Original Description 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.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed, low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
npmopenclaw<= 2026.2.17none recorded

Weakness classification

References