CVE-2026-13311
published high CVSS 4.0 · 8.7shell-quote parse() is quadratic in token count, enabling denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ljharb | — | shell-quote0 through 1.8.4 · Other versions: unaffected | Affected | Not stated | harborist |
| Debian | bookworm | node-shell-quote | Advisory build | 1.7.4+~1.7.1-1+deb12u2 | DLA-4901-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-web-uinoarch | Advisory build | 17+673.b97ba64d6-160000.12.1 | OPENSUSE-SU-2026:21448-1 |
| Debian | trixie | node-shell-quote | Advisory build | 1.7.4+~1.7.1-1+deb13u2 | DSA-6548-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-pytest-htmlnoarch | Advisory build | 4.1.1-bp160.3.1 | OPENSUSE-SU-2026:21176-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uiaarch64 | Advisory build | 23+75.1a877fb50-50.1 | OPENSUSE-SU-2026:11472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uippc64le | Advisory build | 23+75.1a877fb50-50.1 | OPENSUSE-SU-2026:11472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uis390x | Advisory build | 23+75.1a877fb50-50.1 | OPENSUSE-SU-2026:11472-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uix86_64 | Advisory build | 23+75.1a877fb50-50.1 | OPENSUSE-SU-2026:11472-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | heroic-games-launcheraarch64 | Advisory build | 2.22.0-3.1 | OPENSUSE-SU-2026:11145-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | heroic-games-launcherppc64le | Advisory build | 2.22.0-3.1 | OPENSUSE-SU-2026:11145-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | heroic-games-launchers390x | Advisory build | 2.22.0-3.1 | OPENSUSE-SU-2026:11145-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | heroic-games-launcherx86_64 | Advisory build | 2.22.0-3.1 | OPENSUSE-SU-2026:11145-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytest-htmlaarch64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytest-htmlppc64le | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytest-htmls390x | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytest-htmlx86_64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytest-htmlaarch64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytest-htmlppc64le | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytest-htmls390x | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytest-htmlx86_64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytest-htmlaarch64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytest-htmlppc64le | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytest-htmls390x | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytest-htmlx86_64 | Advisory build | 4.2.0-3.1 | OPENSUSE-SU-2026:11149-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- harborist · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | harborist · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ljharb | shell-quote | 0 through 1.8.4 (affected · semver)Default: unaffected | harborist · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
2- GHSA-395f-4hp3-45gv https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv
- https://www.npmjs.com/package/shell-quote
Provider assertions
2harborist · cna
shell-quote parse() is quadratic in token count, enabling denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 347c9054309c4bbc0d32f6b1b49fc74cd10cdcc5eb82a27785615ae58e3e4ad0
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record