CVE-2025-61787 json
Deno is Vulnerable to Command Injection on Windows During Batch File Execution
published 2025-10-08 13 mo ago modified 2026-10-08 31 d ago also EUVD-2025-33179 , GHSA-m2gf-x3f6-8hq3 , JLSEC-2026-113
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io deno 2.5.2
- julia Deno_jll 2.6.3+0
- deno deno 2.2.15, 2.5.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | deno | <2.5.2 |
2.5.2 |
| julia | Deno_jll | <2.6.3+0 |
2.6.3+0 |
Affected products
- denoland deno
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/denoland/deno/pull/30818
web, issue-tracking, patch
-
github.com
/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822
web, patch
-
github.com
/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3
web, exploit, vendor-advisory
-
github.com
/denoland/deno/releases/tag/v2.2.15
web, release-notes
-
github.com
/denoland/deno/releases/tag/v2.5.3
release-notes, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-61787
advisory, web
-
github.com
/denoland/deno
package
-
github.com
/denoland/deno/releases/tag/v2.5.2
web
-
github.com
/advisories/GHSA-m2gf-x3f6-8hq3
web
Sources
- CVE List CVE-2025-61787
- GitHub Advisory GHSA-m2gf-x3f6-8hq3
- NVD CVE-2025-61787
- OSV JLSEC-2026-113
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.