{"cve":"CVE-2025-61787","nvd":{"published":"2025-10-08T02:15:41.897","modified":"2026-10-08T13:10:00.200","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-77"],"references":["https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822","https://github.com/denoland/deno/pull/30818","https://github.com/denoland/deno/releases/tag/v2.2.15","https://github.com/denoland/deno/releases/tag/v2.5.3","https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3"],"products":["deno:deno"],"source":"nvd","synced_at":"2026-10-19T22:11:26.888974865+00:00"},"epss":{"cve":"CVE-2025-61787","score":0.02084,"percentile":0.81431,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-m2gf-x3f6-8hq3","url":"https://osv.dev/vulnerability/GHSA-m2gf-x3f6-8hq3","summary":"Deno is Vulnerable to Command Injection on Windows During Batch File Execution","modified":"2025-10-08T18:42:29.570571Z","packages":[{"ecosystem":"crates.io","name":"deno","purl":"pkg:cargo/deno","ranges":["<2.5.2"],"fixed":["2.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}