CVE-2026-8723

MEDIUMNVD 5.35.3
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 73% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Elevated
5.3
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 5.3Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Summary

qs.stringify throws TypeError when called with arrayFormat: 'comma' and encodeValuesOnly: true on an array containing null or undefined. The throw is synchronous and not handled by any of qs's null-related options (skipNulls, strictNullHandling).

Details

In the comma + encodeValuesOnly branch, lib/stringify.js:145 mapped the array through the raw encoder before joining:

obj = utils.maybeMap(obj, encoder);

utils.encode (lib/utils.js:195) reads str.length with no null guard, so a null or undefined element throws TypeError. skipNulls and strictNullHandling are both checked in the per-element loop below this line and never get a chance to run.

Same class of bug as the filter-array path fixed in 0c180a4. The vulnerable shape of the comma + encodeValuesOnly branch was introduced in 4c4b23d ("encode comma values more consistently", PR #463, 2023-01-19), first released in v6.11.1.

PoC

const qs = require('qs');

qs.stringify({ a: [null, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true });

qs.stringify({ a: [undefined, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true });

qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true });

// TypeError: Cannot read properties of null (reading 'length')

// at encode (lib/utils.js:195:13)

// at Object.maybeMap (lib/utils.js:322:37)

// at stringify (lib/stringify.js:145:25)

Fix

lib/stringify.js:145, applied in 21f80b3 on main and released as v6.15.2:

- obj = utils.maybeMap(obj, encoder);

+ obj = utils.maybeMap(obj, function (v) {

+ return v == null ? v : encoder(v);

+ });

null and undefined now pass through maybeMap unchanged and reach the join(',') step as-is. For { a: [null, 'b'] } this produces a=,b, matching the non-encodeValuesOnly comma path (which already joins before encoding and produces a=%2Cb for the same input). Single-element [null] arrays still collapse via the existing obj.join(',') || null and remain subject to skipNulls / strictNullHandling in the main loop.

Affected versions

>=6.11.1 <6.15.2 — fixed in v6.15.2.

The vulnerable code shape was introduced in 4c4b23d and first shipped in v6.11.1. Earlier versions — including all of 6.7.x, 6.8.x, 6.9.x, 6.10.x, and 6.11.0 — implemented the comma + encodeValuesOnly path differently (joining before encoding) and are not affected. Empirically verified across released versions.

Impact

Application code that calls qs.stringify with both arrayFormat: 'comma' and encodeValuesOnly: true (both non-default) on input that may contain a null or undefined array element will throw synchronously instead of producing a query string. In a typical Node.js HTTP framework (Express, Fastify, Koa, hapi) the sync throw is caught by the framework's error boundary and the affected request returns a 500; the worker process does not exit and subsequent requests are unaffected. The "kills the worker process" framing applies only to call sites outside a request-handler error boundary (background jobs, startup paths, stream pipelines) or to deployments with framework error handling explicitly disabled.

The vulnerable input is a null or undefined entry inside an array; this is reachable from JSON request bodies or from application code constructing arrays from user input, but not from standard HTML form submissions (which produce strings or omitted fields, not literal null).

CVSS v3
5.3
EG Score
5.3(medium)
EPSS
27.2%
KEV
Not listed

Published

May 17, 2026

Last Modified

May 18, 2026

Advisory Details (2)

Auto-updated May 17, 2026
🔬 Proof of concept available. Patch available. Sources: github.
github Patch Available🟡 PoC Available

remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set · Advisory · ljharb/qs · GitHub

https://github.com/ljharb/qs/security/advisories/GHSA-q8mj-m7cp-5q26
generic

[Fix] `stringify`: skip null/undefined entries in `arrayFormat: 'comm… · ljharb/qs@21f80b3 · GitHub

https://github.com/ljharb/qs/commit/21f80b33e5c8b3f7eba1034fff0da4a4a37a1d41

Affected Packages

(1 across 1 ecosystem)
npm(1)
PackageVulnerable rangeFixed inDependents
qs6.15.2

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 44× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-11 08:27 UTCEPSS rescore
  2. 2026-07-09 19:10 UTCEPSS rescore
  3. 2026-07-08 15:16 UTCEPSS rescore
  4. 2026-07-07 13:46 UTCEPSS rescore
  5. 2026-07-06 16:27 UTCEPSS rescore
  6. 2026-07-06 16:27 UTCEPSS rescore
  7. 2026-07-06 02:23 UTCEPSS rescore
  8. 2026-07-06 02:23 UTCEPSS rescore
  9. 2026-07-05 02:31 UTCEPSS rescore
  10. 2026-07-05 02:30 UTCEPSS rescore
  11. 2026-07-04 06:31 UTCEPSS rescore
  12. 2026-07-04 06:31 UTCEPSS rescore
  13. 2026-07-01 15:07 UTCEPSS rescore
  14. 2026-06-30 23:22 UTCEPSS rescore
  15. 2026-06-29 21:16 UTCEG score recompute
  16. 2026-06-29 14:06 UTCEPSS rescore
  17. 2026-06-28 14:07 UTCEPSS rescore
  18. 2026-06-28 04:56 UTCEPSS rescore
  19. 2026-06-27 21:37 UTCEG score recompute
  20. 2026-06-27 03:08 UTCEPSS rescore
  21. 2026-06-26 20:02 UTCEG score recompute
  22. 2026-06-25 18:33 UTCEG score recompute
  23. 2026-06-25 13:50 UTCEPSS rescore
  24. 2026-06-24 14:05 UTCEPSS rescore
  25. 2026-06-23 21:33 UTCEPSS rescore
Show 54 more
  1. 2026-06-22 14:25 UTCEPSS rescore
  2. 2026-06-21 14:56 UTCEPSS rescore
  3. 2026-06-21 01:59 UTCEPSS rescore
  4. 2026-06-19 19:26 UTCEPSS rescore
  5. 2026-06-18 17:52 UTCEPSS rescore
  6. 2026-06-17 20:15 UTCEG score recompute
  7. 2026-06-17 17:53 UTCEPSS rescore
  8. 2026-06-16 21:43 UTCEG score recompute
  9. 2026-06-16 17:53 UTCEPSS rescore
  10. 2026-06-15 23:21 UTCEG score recompute
  11. 2026-06-15 17:49 UTCEPSS rescore
  12. 2026-06-15 17:49 UTCEPSS rescore
  13. 2026-06-14 23:18 UTCEPSS rescore
  14. 2026-06-14 13:23 UTCEG score recompute
  15. 2026-06-13 23:00 UTCEPSS rescore
  16. 2026-06-13 15:03 UTCEG score recompute
  17. 2026-06-12 23:12 UTCEPSS rescore
  18. 2026-06-12 23:12 UTCEPSS rescore
  19. 2026-06-12 12:36 UTCEG score recompute
  20. 2026-06-11 14:22 UTCEG score recompute
  21. 2026-06-11 14:00 UTCEPSS rescore
  22. 2026-06-10 22:19 UTCEPSS rescore
  23. 2026-06-10 16:09 UTCEG score recompute
  24. 2026-06-10 13:22 UTCEPSS rescore
  25. 2026-06-09 17:55 UTCEG score recompute
  26. 2026-06-08 19:41 UTCEG score recompute
  27. 2026-06-08 14:17 UTCEPSS rescore
  28. 2026-06-07 17:01 UTCEG score recompute
  29. 2026-06-07 15:25 UTCEPSS rescore
  30. 2026-06-06 18:47 UTCEG score recompute
  31. 2026-06-06 13:47 UTCEPSS rescore
  32. 2026-06-05 22:47 UTCEPSS rescore
  33. 2026-06-05 20:33 UTCEG score recompute
  34. 2026-06-05 06:10 UTCEPSS rescore
  35. 2026-06-04 22:19 UTCEG score recompute
  36. 2026-06-04 13:12 UTCEPSS rescore
  37. 2026-06-04 00:05 UTCEG score recompute
  38. 2026-06-03 01:51 UTCEG score recompute
  39. 2026-06-02 20:13 UTCEPSS rescore
  40. 2026-06-02 03:37 UTCEG score recompute
  41. 2026-06-01 13:52 UTCEPSS rescore
  42. 2026-06-01 05:23 UTCEG score recompute
  43. 2026-05-31 22:30 UTCEPSS rescore
  44. 2026-05-31 00:16 UTCEPSS rescore
  45. 2026-05-29 13:44 UTCEPSS rescore
  46. 2026-05-28 13:44 UTCEPSS rescore
  47. 2026-05-27 13:40 UTCEPSS rescore
  48. 2026-05-26 13:44 UTCEPSS rescore
  49. 2026-05-26 07:18 UTCEPSS rescore
  50. 2026-05-23 00:07 UTCEG score recompute
  51. 2026-05-21 22:43 UTCEPSS rescore
  52. 2026-05-20 22:38 UTCEPSS rescore
  53. 2026-05-20 11:54 UTCEG score recompute
  54. 2026-05-20 11:22 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-8723?
CVE-2026-8723 is a medium vulnerability published on May 17, 2026. Summary qs.stringify throws TypeError when called with arrayFormat: 'comma' and encodeValuesOnly: true on an array containing null or undefined. The throw is synchronous and not handled by any of qs's null-related options (skipNulls, strictNullHandling). Details In the comma + encodeValuesOnly…
When was CVE-2026-8723 disclosed?
CVE-2026-8723 was first published in the National Vulnerability Database on May 17, 2026, with the most recent update on May 18, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-8723 actively exploited?
CVE-2026-8723 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 27.2% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-8723?
CVE-2026-8723 has a CVSS v3 base score of 5.3 (NVD).
How do I remediate CVE-2026-8723?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-8723, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-8723

Explore →

Is Your Infrastructure Affected by CVE-2026-8723?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.