# CVE-2026-13311: node-shell-quote: shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, w...

CVE-2026-13311 is fixed in 3 products on 1 platform, first by OPENSUSE-SU-2026:21176-1, released June 30, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-13311
- Priority: Routine
- CVSS: n/a
- EPSS: 0.0036
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 25, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | agama-web-ui opensuse-leap 16.0 | 17+673.b97ba64d6-160000.12.1 | [OPENSUSE-SU-2026:21448-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21448-1.md) | Jul 27, 2026 |
| Linux | node-shell-quote Debian 13.5 (trixie) | 1.7.4+~1.7.1-1+deb13u2 | [DEBIAN-CVE-2026-13311](https://patchblox.com/security/data/fix/linux/debian-cve-2026-13311.md) | Jul 1, 2026 |
| Linux | node-shell-quote Debian 14 | 1.9.0+~1.7.5-1 | [DEBIAN-CVE-2026-13311](https://patchblox.com/security/data/fix/linux/debian-cve-2026-13311.md) | Jul 1, 2026 |
| Linux | python-pytest-html opensuse-leap 16.0 | 4.1.1-bp160.3.1 | [OPENSUSE-SU-2026:21176-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21176-1.md) | Jun 30, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
