{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.1.14"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.0.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "68b9e590b7527fd9dbde91c450055059423942f6"
            },
            {
              "fixed": "ae0faa7bd31331aec3f21c623ee69a50e6663454"
            },
            {
              "fixed": "37303332910d456bf07bbf942c3ed98be156f365"
            },
            {
              "fixed": "43d70b59d09bbe5c3fd02ef08b3a123e977ed9de"
            },
            {
              "fixed": "b4b34c394e7f9da2775bb75381066b9a228c425f"
            }
          ],
          "repo": "https://github.com/ericcornelissen/shescape",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w4hw-qcx7-56pr"
  ],
  "database_specific": {
    "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"
  },
  "details": "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.",
  "id": "CVE-2026-73414",
  "modified": "2026-09-11T03:30:34.805605841Z",
  "published": "2026-08-12T19:42:55.520Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73414.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ericcornelissen/shescape/security/advisories/GHSA-w4hw-qcx7-56pr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73414"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ericcornelissen/shescape/pull/2649"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ericcornelissen/shescape/pull/2651"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Shescape: Shell injection via unescaped parentheses on Windows with CMD"
}