{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-61787",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-09-30T19:43:49.903Z",
        "datePublished": "2025-10-08T00:59:17.322Z",
        "dateUpdated": "2025-10-08T18:51:09.772Z"
    },
    "containers": {
        "cna": {
            "title": "Deno is Vulnerable to Command Injection on Windows During Batch File Execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "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"
                },
                {
                    "name": "https://github.com/denoland/deno/pull/30818",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/denoland/deno/pull/30818"
                },
                {
                    "name": "https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822"
                },
                {
                    "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"
                },
                {
                    "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"
                }
            ],
            "affected": [
                {
                    "vendor": "denoland",
                    "product": "deno",
                    "versions": [
                        {
                            "version": ">= 2.3.0, < 2.5.3",
                            "status": "affected"
                        },
                        {
                            "version": "< 2.2.15",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-10-08T00:59:17.322Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-m2gf-x3f6-8hq3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-10-08T18:47:39.944579Z",
                                "id": "CVE-2025-61787",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-08T18:51:09.772Z"
                }
            }
        ]
    }
}