Description
Improper Input Validation vulnerability in qs (parse modules) allows HTTP DoS.This issue affects qs: < 6.14.1.
Summary
The arrayLimit option in qs did not enforce limits for bracket notation (a[]=1&a[]=2), only for indexed notation (a[0]=1). This is a consistency bug; arrayLimit should apply uniformly across all array notations.
Note: The default parameterLimit of 1000 effectively mitigates the DoS scenario originally described. With default options, bracket notation cannot produce arrays larger than parameterLimit regardless of arrayLimit, because each a[]=valueconsumes one parameter slot. The severity has been reduced accordingly.
Details
The arrayLimit option only checked limits for indexed notation (a[0]=1&a[1]=2) but did not enforce it for bracket notation (a[]=1&a[]=2).
Vulnerable code (lib/parse.js:159-162):
if (root === '[]' && options.parseArrays) {
obj = utils.combine([], leaf); // No arrayLimit check
}
Working code (lib/parse.js:175):
else if (index <= options.arrayLimit) { // Limit checked here
obj = [];
obj[index] = leaf;
}
The bracket notation handler at line 159 uses utils.combine([], leaf) without validating against options.arrayLimit, while indexed notation at line 175 checks index <= options.arrayLimit before creating arrays.
PoC
const qs = require('qs');
const result = qs.parse('a[]=1&a[]=2&a[]=3&a[]=4&a[]=5&a[]=6', { arrayLimit: 5 });
console.log(result.a.length); // Output: 6 (should be max 5)
Note on parameterLimit interaction: The original advisory's "DoS demonstration" claimed a length of 10,000, but parameterLimit (default: 1000) caps parsing to 1,000 parameters. With default options, the actual output is 1,000, not 10,000.
Impact
Consistency bug in arrayLimit enforcement. With default parameterLimit, the practical DoS risk is negligible since parameterLimit already caps the total number of parsed parameters (and thus array elements from bracket notation). The risk increases only when parameterLimit is explicitly set to a very high value.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | qs | < 6.14.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-qs | 6.14.1+ds+~6.14.0-1 | — |
| Debian 13 | node-qs | No fix yet | — |
| Debian 12 | node-qs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | node-qs | No fix yet | — |
| Ubuntu 25.10 | node-qs | No fix yet | — |
| Ubuntu 24.04 LTS | node-qs | No fix yet | — |
| Ubuntu 22.04 LTS | node-qs | No fix yet | — |
| Ubuntu 18.04 LTS | node-qs | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | node-qs | No fix yet | — |
| Ubuntu Pro 20.04 LTS | node-qs | No fix yet | — |
| Ubuntu Pro 14.04 LTS | node-qs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | sgx-mpa +7 | 2.26-7.el10 | RHSA-2026:18480 |
| RHEL 9 | sgx-mpa +7 | 2.26-7.el9 | RHSA-2026:18868 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-apache-cxf +3 | 3.4.10-4.SP2_redhat_00004.1.el7eap | RHSA-2026:33371 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-undertow | 2.0.41-8.SP9_redhat_00001.1.el7eap | RHSA-2026:33371 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-wildfly +4 | 7.3.18-3.GA_redhat_00001.1.el7eap | RHSA-2026:33371 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | sgx-mpa +6 | 2.26-7.el10 | ALSA-2026:18480 |
| AlmaLinux 9 | sgx-mpa +6 | 2.26-7.el9 | ALSA-2026:18868 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | linux-sgx | 2.26-7.el10 | RLSA-2026:18480 |
| Rocky Linux 9 | linux-sgx | 2.26-7.el9 | RLSA-2026:18868 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery +1 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | js-jquery +1 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | sgx-mpa +6 | 2.26-7.el10 | ELSA-2026-18480 |
| Oracle Linux 9 | sgx-mpa +6 | 2.26-7.el9 | ELSA-2026-18868 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server +1 | 4.106.3-r1 | — |
| Wolfi rolling | json-server | 0.17.4-r3 | — |
| Wolfi rolling | jupyter-base-notebook | 7.6.3-r2 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.10.0-r8 | — |
| Wolfi rolling | kubeflow-pipelines-frontend | 2.15.0-r6 | — |
| Wolfi rolling | langfuse-3 +2 | 3.143.0-r1 | — |
| Wolfi rolling | opensearch-dashboards-3 +12 | 3.4.0-r0 | — |
| Wolfi rolling | py3.10-jupyterlab +3 | 4.6.1-r1 | — |
| Wolfi rolling | renovate | 42.71.4-r0 | — |
| Wolfi rolling | saf | 1.5.3-r1 | — |
| Wolfi rolling | sqlpad | 7.5.7-r5 | — |
| Wolfi rolling | thingsboard +4 | 4.2.1.1-r0 | — |
| Wolfi rolling | tileserver-gl +1 | 5.5.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | qs | < 6.14.1 | 6.14.1 | GHSA-6rw7-vpxm-498p |
Advisories 23
- WID-SEC-2026-3046 IBM Concert: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- ALSA-2026:18868 Important: linux-sgx security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:18480 Important: linux-sgx security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:33371 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.18 security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:18868 Red Hat Security Advisory: linux-sgx security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:18480 Red Hat Security Advisory: linux-sgx security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2026-0105 Red Hat Developer Hub: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 15, 2026
- WID-SEC-2026-0243 Red Hat OpenShift Container Platform: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jul 9, 2026
- ELSA-2026-18480 Important: linux-sgx security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 8, 2026
- ELSA-2026-18868 Important: linux-sgx security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 12, 2026
- RLSA-2026:18480 Important: linux-sgx security update Rocky Linux Security Advisories · May 29, 2026
- RLSA-2026:18868 Important: linux-sgx security update Rocky Linux Security Advisories · May 28, 2026
- VDE-2026-009 JUMO: Multiple products affected by nodejs vulnerability CERT@VDE · May 26, 2026
- WID-SEC-2026-1194 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-0301 IBM App Connect Enterprise: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Apr 7, 2026
- WID-SEC-2026-0943 IBM DataPower Gateway: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Mar 31, 2026
- WID-SEC-2026-0177 Atlassian Bamboo, Bitbucket, Confluence und Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 18, 2026
- WID-SEC-2026-0759 IBM Planning Analytics: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2026
- ICSA-26-071-03 Siemens SIDIS Prime CISA ICS & IT advisories · Mar 12, 2026
- NCSC-2026-0079 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Mar 10, 2026
- SSA-485750 SSA-485750: Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 Siemens ProductCERT · Mar 10, 2026
- NCSC-2026-0034 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Jan 22, 2026
- WID-SEC-2026-0181 ILIAS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026