CVE-2026-13311 shell-quote parse() is quadratic in token count, enabling denial of service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
66 packages: 5 fixed, 61 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/lightspeed-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal(Red Hat ansible_portal 2) | All versions | No fix listed | No fix yet |
| redhat/automation-eda-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/container-native-virtualization/kubevirt-console-plugin-rhel9(Red Hat container_native_virtualization 4) | All versions | No fix listed | No fix yet |
| redhat/cryostat-openshift-console-plugin-npm(Red Hat cryostat 4) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9(Red Hat discovery 2 el8) | All versions | No fix listed | No fix yet |
| redhat/gatekeeper/gatekeeper-rhel9(Red Hat gatekeeper 3) | All versions | No fix listed | No fix yet |
| redhat/goose(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/goose(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-419-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-console-plugin-pf5-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-operator-bundle(Red Hat service_mesh 3) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-ossmc-rhel8(Red Hat service_mesh 2) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-ossmc-rhel9(Red Hat service_mesh 3) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-rhel8(Red Hat service_mesh 2) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-rhel9(Red Hat service_mesh 3) | All versions | No fix listed | No fix yet |
| redhat/openshift-service-mesh/kiali-rhel9-operator(Red Hat service_mesh 3) | All versions | No fix listed | No fix yet |
… and 36 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm shell-quote(npm) | <= 1.8.4 | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9:1787250508(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9:1787251550(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9:1787251250(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1787250617(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791861214(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/cryostat-openshift-console-plugin-npm(Red Hat:cryostat:4) | All versions | No fix listed |
| redhat/shell-quote(Red Hat:cryostat:4) | All versions | No fix listed |
| redhat/gatekeeper/gatekeeper-rhel9(Red Hat:gatekeeper:3) | All versions | No fix listed |
| redhat/rhmtc/openshift-migration-ui-rhel8(Red Hat:rhmt:1) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-419-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-pf5-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-service-mesh/kiali-ossmc-rhel8(Red Hat:service_mesh:2) | All versions | No fix listed |
| redhat/openshift-service-mesh/kiali-rhel8(Red Hat:service_mesh:2) | All versions | No fix listed |
| redhat/openshift-service-mesh/kiali-operator-bundle(Red Hat:service_mesh:3) | All versions | No fix listed |
| redhat/openshift-service-mesh/kiali-ossmc-rhel9(Red Hat:service_mesh:3) | All versions | No fix listed |
Show 50 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift-service-mesh/kiali-rhel9(Red Hat:service_mesh:3) | All versions | No fix listed |
| redhat/openshift-service-mesh/kiali-rhel9-operator(Red Hat:service_mesh:3) | All versions | No fix listed |
| redhat/shell-quote(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/shell-quote(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/shell-quote(Red Hat:jboss_data_grid:8) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9(Red Hat:discovery:2::el8) | All versions | No fix listed |
| redhat/goose(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/goose(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/shell-quote(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/ose-agent-installer-ui-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/container-native-virtualization/kubevirt-console-plugin-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/rhtas/rekor-search-ui-rhel9(Red Hat:trusted_artifact_signer:1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) | All versions | No fix listed |
| ubuntu/node-shell-quote(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-shell-quote(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-shell-quote(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-shell-quote(Ubuntu:26.10) | All versions | No fix listed |
| shell-quote project shell-quote | < 1.9.0 | 1.9.0 |
| debian/node-shell-quote(Debian:12) | < 1.7.4+~1.7.1-1+deb12u2 | 1.7.4+~1.7.1-1+deb12u2 |
| debian/node-shell-quote(Debian:12) | = 1.7.4+~1.7.1-1 | No fix listed |
| debian/node-shell-quote(Debian:12) | = 1.7.4+~1.7.1-1+deb12u1 | No fix listed |
| debian/node-shell-quote(Debian:13) | < 1.7.4+~1.7.1-1+deb13u2 | 1.7.4+~1.7.1-1+deb13u2 |
| debian/node-shell-quote(Debian:13) | = 1.7.4+~1.7.1-1 | No fix listed |
| debian/node-shell-quote(Debian:13) | = 1.7.4+~1.7.1-1+deb13u1 | No fix listed |
| debian/node-shell-quote(Debian:14) | < 1.9.0+~1.7.5-1 | 1.9.0+~1.7.5-1 |
| debian/node-shell-quote(Debian:14) | = 1.7.4+~1.7.1-1 | No fix listed |
| debian/node-shell-quote(Debian:14) | = 1.7.4+~1.7.1-2 | No fix listed |
| debian/node-shell-quote(Debian:14) | = 1.8.3+~1.7.5-1 | No fix listed |
| debian/node-shell-quote(Debian:14) | = 1.8.4+~1.7.5-1 | No fix listed |
| npm shell-quote(npm) | < 1.9.0 | 1.9.0 |
References
- GHSA-395f-4hp3-45gv exploit vendor-advisory
- www.npmjs.com product
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:60520 patch vendor-advisory
- RHSA-2026:84734 patch vendor-advisory
- Red Hat Bugzilla 2492642 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- Debian Security Tracker CVE-2026-13311 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product