CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (8.7) in shell-quote project shell-quote. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in shell-quote 1.9.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hshell-quote (npm): fixed in 1.9.0Explain CVE-2026-13311 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-13311?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-13311?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-13311 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ljharb shell-quote | through 1.8.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-395f-4hp3-45gv | npm | shell-quote | <1.9.0 | 1.9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | node-shell-quote | 1.7.4+~1.7.1-1+deb12u2 | DEBIAN-CVE-2026-13311 DLA-4901-1 |
| Debian | 13 | node-shell-quote | 1.7.4+~1.7.1-1+deb13u2 | DEBIAN-CVE-2026-13311 DSA-6548-1 |
| Debian | 14 | node-shell-quote | 1.9.0+~1.7.5-1 | DEBIAN-CVE-2026-13311 |
| Ubuntu | 24.04:LTS, 25.10, 26.10 and 3 more | node-shell-quote | no fix listed | UBUNTU-CVE-2026-13311 |
| openSUSE | Leap 16.0 | agama-web-ui | 17+673.b97ba64d6-160000.12.1 | openSUSE-SU-2026:21448-1 |
| openSUSE | Leap 16.0 | python-pytest-html | 4.1.1-bp160.3.1 | openSUSE-SU-2026:21176-1 |
| openSUSE | Tumbleweed | agama-web-ui | 23+75.1a877fb50-50.1 | openSUSE-SU-2026:11472-1 |
| openSUSE | Tumbleweed | heroic-games-launcher | 2.22.0-3.1 | openSUSE-SU-2026:11145-1 |
| openSUSE | Tumbleweed | python-pytest-html | 4.2.0-3.1 | openSUSE-SU-2026:11149-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Moderate.
A flaw was found in the shell-quote npm package's `parse()` function, which uses an `O(n²)` array concatenation pattern when processing tokens. An attacker who can supply untrusted input to code paths calling `parse()` can block the Node.js event loop with a relatively small payload of space-separated words, causing a denial of service (DoS). The vulnerable `parse()` function is not typically exposed to external user input in Red Hat product deployments, reducing the practical exploitability of this flaw.
Upgrade shell-quote to version 1.8.5.
If upgrading shell-quote to version 1.8.5 or later is not immediately possible, the following mitigations can reduce exposure:
1. Validate and limit the length of any user-controlled strings before passing them to shell-quote's `parse()` function.
2. If `parse()` is not required, ensure that only the `quote()` function is used, as it is not affected by this vulnerability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift AI 3.4 | rhoai/odh-mod-arch-automl-rhel9:1787250508 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-mod-arch-autorag-rhel9:1787251550 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-mod-arch-maas-rhel9:1787251250 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-mod-arch-model-registry-rhel9:1787250617 | Fixed 2026-08-27 | RHSA-2026:60520 |
| Red Hat OpenShift AI 3.4 | rhoai/odh-mod-arch-eval-hub-rhel9:1791861214 | Fixed 2026-10-19 | RHSA-2026:84734 |
| Cryostat 4 | cryostat-openshift-console-plugin-npm | Fix deferred | |
| Cryostat 4 | shell-quote | Fix deferred | |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Fix deferred | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-must-gather-rhel9 | Fix deferred | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-operator-bundle | Fix deferred | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel9-operator | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-419-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-pf5-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Fix deferred | |
| 44 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-13311.