CVE Explorer
CVE-2025-61787
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"deno","vendor":"denoland","versions":[{"status":"affected","version":">= 2.3.0, < 2.5.3"},{"status":"affected","version":"< 2.2.15"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/references/2
{"name":"https://github.com/denoland/deno/pull/30818","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/pull/30818"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/references/1
{"name":"https://github.com/denoland/deno/releases/tag/v2.2.15","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/releases/tag/v2.2.15"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/references/3
{"name":"https://github.com/denoland/deno/releases/tag/v2.5.3","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/releases/tag/v2.5.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/references/4
{"name":"https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ffd7a88b626a22e807ac3ac1f2c2b3ae41aeadb60392b2fdb43b5e1aa9474b77 · sha256:0e93202cc1e692c2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.