Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade deno_subprocess_windows to version 0.15.0 or higher.
deno_subprocess_windows is a Subprocess API implementation for Windows.
Affected versions of this package are vulnerable to Arbitrary Command Injection when executing batch files on Windows. An attacker can execute arbitrary commands by supplying specially crafted input that is processed by the Windows CreateProcess function, e.g., through node:child_process or Deno.Command.spawn().
Note:
This is caused by an incomplete fix for CVE-2025-61787.
const command = new Deno.Command('./test.BAT', {
args: ['&calc.exe'],
});
const child = command.spawn();