Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. deno
  4. ›
  5. CVE-2025-61787

CVE-2025-61787: Deno is Vulnerable to Command Injection on Windows During Batch File Execution

October 8, 2025

Deno versions up to 2.5.1 are vulnerable to Command Line Injection attacks on Windows when batch files are executed.

References

  • github.com/advisories/GHSA-m2gf-x3f6-8hq3
  • github.com/denoland/deno
  • github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822
  • github.com/denoland/deno/pull/30818
  • github.com/denoland/deno/releases/tag/v2.2.15
  • github.com/denoland/deno/releases/tag/v2.5.2
  • github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3
  • nvd.nist.gov/vuln/detail/CVE-2025-61787

Code Behaviors & Features

Detect and mitigate CVE-2025-61787 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.2

Fixed versions

  • 2.5.2

Solution

Upgrade to version 2.5.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/deno/CVE-2025-61787.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 10 Dec 2025 12:19:57 +0000.