Vulnerability details
CVE-2025-61787
denoland deno
Deno is Vulnerable to Command Injection on Windows During Batch File Execution
CVSS 3.1
8.1High
Official 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 scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.1High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| denoland | deno | < 2.2.15 | CVEProject cvelistV5 (CNA) |
| denoland | deno | >= 2.3.0, < 2.5.3 | CVEProject cvelistV5 (CNA) |
References and advisories
5- https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 x_refsource_CONFIRM
- https://github.com/denoland/deno/pull/30818 x_refsource_MISC
- https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822 x_refsource_MISC
- https://github.com/denoland/deno/releases/tag/v2.2.15 x_refsource_MISC
- https://github.com/denoland/deno/releases/tag/v2.5.3 x_refsource_MISC
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-10-08
- Last updated
- 2025-10-08
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
2.08%
Probability of exploitation in 30 days
81.6%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')