CVE-2026-73414

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.
CVSS

No CVSS.

Configurations

No configuration.

History

23 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Shescape es una simple biblioteca de escape de shell para JavaScript. Antes de las versiones 2.1.14 y 3.0.1, getEscapeFunction en src/internal/win/cmd.js no escapa ’(’ y ’)’ cuyo las aplicaciones usan las API escape o escapeAll en Windows con el shell configurado como cmd.exe, o con el shell configurado como true cuyo CMD es el predeterminado. Un argumento controlado por un atacante puede escapar de una construcción CMD entre paréntesis e inyectar sintaxis de shell dependiendo del comyo original, lo que resulta en la ejecución arbitraria de comyos. Este problema se solucionó en las versiones 2.1.14 y 3.0.1.

Information

Published : 2026-08-12 20:17

Updated : 2026-10-24 15:10


NVD link : CVE-2026-73414

Mitre link : CVE-2026-73414

CVE.ORG link : CVE-2026-73414


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences