{
  "id": "CVE-2025-61787",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-61787",
  "published_at": "2025-10-08T00:59:17.322Z",
  "title": "Deno is Vulnerable to Command Injection on Windows During Batch File Execution",
  "vendor": "denoland",
  "product": "deno",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. In Windows, ``CreateProcess()`` always implicitly spawns ``cmd.exe`` if a batch file (.bat, .cmd, etc.) is being executed even if the application does not specify it via the command line. This makes Deno vulnerable to a command injection attack on Windows. Versions 2.5.3 and 2.2.15 fix the issue.",
  "cwe": "CWE-77",
  "cpes": [
    "cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "denoland",
        "product": "deno",
        "ranges": [
          "\u003e= 2.3.0, \u003c 2.5.3",
          "\u003c 2.2.15"
        ],
        "fixed_in": [
          "2.5.3",
          "2.2.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade deno to 2.5.3 or 2.2.15 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/denoland/deno/pull/30818"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/denoland/deno/releases/tag/v2.2.15"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/denoland/deno/releases/tag/v2.5.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
