ADVISORIES

Vulnerability

CVE-2026-13311

shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.

64 advisories report this vulnerability, across 8 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2026-13311

    shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in…

    CVE-2026-13311 Debian Updated 12 November 2026
  • DLA-4901-1

    node-shell-quote - security update

    CVE-2026-102422CVE-2026-13311 Debian Updated 20 November 2026
  • DSA-6548-1

    node-shell-quote - security update

    CVE-2026-13311CVE-2026-102422 Debian Updated 20 November 2026

References