All vulnerabilities

Servers and applications

CVE-2026-32260

Command Injection via incomplete shell metacharacter blocklist in node:child_process (bypass of CVE-2026-27190 fix)

Severity
Critical 9.8
Published
12 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.7.2
Exploit chance
1.6% in the next 30 daysHigher than 76% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-4c96-w8v2-p28j
Sources
NVD, Project advisories (GitHub)

Description

A command injection vulnerability exists in Deno's node:child_process polyfill (shell: true mode) that bypasses the fix for CVE-2026-27190 (GHSA-hmh4-3xvx-q5hr). An attacker who controls arguments passed to spawnSync or spawn with shell: true can execute arbitrary OS commands, bypassing Deno's permission system.

Affected versions: Deno v2.7.0, v2.7.1

The two-stage argument sanitization in transformDenoShellCommand (ext/node/polyfills/internal/child_process.ts) has a priority bug: when an argument contains a $VAR pattern, it is wrapped in double quotes (L1290) instead of single quotes (L1293). Double quotes in POSIX sh do not suppress backtick command substitution, allowing injected commands to execute.

Attack chain:

  • escapeShellArg wraps the argument in single quotes (safe)
  • op_node_parse_shell_args strips the single-quote delimiters during tokenization (raw argument exposed)
  • Re-quoting detects $VAR pattern → applies double quotes
  • Backtick payload inside double quotes…
From denoland/deno's security advisory. Shortened; the full text is there.

Workarounds

Avoid passing user-controlled input as arguments to spawn/spawnSync with shell: true. Use shell: false (the default) instead, or validate/sanitize inputs before passing them.

Workarounds as given by denoland/deno's security advisory.

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • From 2.7.0 before 2.7.2
DenoServers and applications · github:denoland/deno
  • From 2.7.0 before 2.7.2

About Deno

secure runtime for JavaScript and TypeScript based on the V8 JavaScript engine and the Rust programming language

From Wikidata, CC0 1.0.
Monthly active users
400k+Deno
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
530,707npm, 15 Nov 2026
Downloads in the last 90 days (crates.io)
2,447crates.io, 15 Nov 2026
Total downloads (crates.io)
634,116crates.io, 15 Nov 2026
Docker Hub pulls
9,367,609Docker Hub, 15 Nov 2026
GitHub stars
108,888GitHub, 15 Nov 2026
Forks
7,444GitHub, 15 Nov 2026
Latest release
v2.9.8GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
Ryan DahlWikidata
License
MIT LicenseWikidata
Written in
Rust, TypeScript, JavaScriptWikidata
First released
13 May 2018Wikidata
First published on GitHub
15 May 2018GitHub

Release lines

ReleaseLatestSecurity fixes
2.92.9.8Yes
2.82.8.3Ended 25 Jun 2026
2.72.7.14Ended 22 May 2026
2.62.6.10Ended 25 Feb 2026
2.5 (LTS)LTS2.5.7Ended 30 Apr 2026
2.42.4.5Ended 10 Sept 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-32260
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-32260
  • GitHub Advisory Database https://github.com/advisories/GHSA-4c96-w8v2-p28j
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-4c96-w8v2-p28j