Arbitrary Command Injection Affecting deno_process package, versions <0.35.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

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 applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DENOPROCESS-15010787
  • published16 Jan 2026
  • disclosed15 Jan 2026
  • creditSharokhAtaie

Introduced: 15 Jan 2026

NewCVE-2026-22864  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade deno_process to version 0.35.0 or higher.

Overview

deno_process is an implementation of subprocess APIs for Deno

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.

PoC

const command = new Deno.Command('./test.BAT', {
  args: ['&calc.exe'],
});
const child = command.spawn();

CVSS Base Scores

version 4.0
version 3.1