Skip to main content
CVE-2026-13311VulnerabilityPublished Updated

Node shell quote: shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a

Affects node-shell-quoteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-13311· High 8.7

Not known to be exploited · CVSS 8.7 High · fixed in 1.8.5 : patch node-shell-quote soon.

Data as of 24 Nov 2026, 20:12 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.8.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=stonkingOther threatsAffected
  • =1.8.3+~1.7.5-1
  • =1.9.0+~1.7.5-1
  • =1.10.0-1
Fixed in–
Ubuntu Pro 26.04 LTSnode-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =1.7.4+~1.7.1-1
  • =1.8.3+~1.7.5-1
  • =1.8.3+~1.7.5-1ubuntu0.1~esm1
Fixed in–
Ubuntu 25.10node-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=questingOther threatsAffected
  • =1.7.4+~1.7.1-1
  • =1.7.4+~1.7.1-1ubuntu0.25.10.1
Fixed in–
Ubuntu 24.04 LTSnode-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=nobleOther threatsAffected
  • =1.7.4+~1.7.1-1
  • =1.7.4+~1.7.1-1ubuntu0.24.04.1
Fixed in–
Ubuntu Pro 22.04 LTSnode-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =1.7.3+~1.7.1-1
  • =1.7.3+~1.7.1-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 18.04 LTSnode-shell-quotepkg:deb/ubuntu/node-shell-quote?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =1.6.1+20160617-git72fb5a8ce29b-1
  • =1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…