CVE-2026-32260
Deno vulnerable to command Injection via incomplete shell metacharacter blocklist in node:child_process
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (alta).
Descripción
Deno is a JavaScript, TypeScript, and WebAssembly runtime. From 2.7.0 to 2.7.1, A command injection vulnerability exists in Deno's node:child_process polyfill (shell: true mode) that bypasses the fix for CVE-2026-27190. 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. Double quotes in POSIX sh do not suppress backtick command substitution, allowing injected commands to execute. An attacker who controls arguments passed to spawnSync or spawn with shell: true can execute arbitrary OS commands, bypassing Deno's permission system. This vulnerability is fixed in 2.7.2.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| cargo::GitHub Security Advisory Rust | deno | 2.7.2 |
| rapidfort alpine 3.20 | deno | 2.7.4-r0 |
| rapidfort alpine 3.21 | deno | 2.7.4-r0 |
| rapidfort alpine 3.22 | deno | 2.7.4-r0 |
| rapidfort alpine 3.23 | deno | 2.7.4-r0 |
| rapidfort alpine 3.24 | deno | 2.7.4-r0 |