Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/win/cmd.js does not escape ( and ) when applications use the escape or escapeAll APIs on Windows with shell set to cmd.exe, or with shell set to true when CMD is the default. An attacker-controlled argument can break out of a parenthesized CMD construct and inject shell syntax depending on the original command, resulting in arbitrary command execution. This issue is fixed in versions 2.1.14 and 3.0.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-150",
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73414.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "43d70b59d09bbe5c3fd02ef08b3a123e977ed9de"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b4b34c394e7f9da2775bb75381066b9a228c425f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.1.14",
"range": [
{
"fixed": "ae0faa7bd31331aec3f21c623ee69a50e6663454"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v3.0.1",
"range": [
{
"fixed": "37303332910d456bf07bbf942c3ed98be156f365"
}
],
"source": "REFERENCES_TAG"
}
]
}