CVE-2026-8723

Aliases:GHSA-q8mj-m7cp-5q26DEBIAN-CVE-2026-8723RHSA-2026:33521CGA-2p29-rj56-fwrqCGA-2qm5-f34h-wpg8CGA-2rhr-w6wq-q6pjCGA-32p5-84m9-6j3pCGA-38fm-wfwp-88w6CGA-3m23-8w6x-xc65CGA-43j5-6r49-9xjjCGA-46r9-hv7x-h395CGA-4fpf-hqxf-6c9qCGA-4jjw-w2wh-ff86CGA-575h-9x4c-485xCGA-59xf-j2q5-g5w7CGA-5xrc-p48j-m5gcCGA-62pv-p927-2g54CGA-6446-5wj5-rfvxCGA-67vg-75v6-chf5CGA-6gwp-rxqh-w9mmCGA-6hh9-m2f8-8792CGA-6hvx-547p-9qrxCGA-6qmf-8mh7-7hh7CGA-7335-jp22-99rhCGA-7529-9xq8-7xv7CGA-756m-mg8h-37gfCGA-78r6-grx7-rc39CGA-79gc-q8q8-58wjCGA-7hc9-rqch-4fqfCGA-7p3v-8j58-g4ggCGA-7p87-58mp-qx7wCGA-7wv9-qwf2-4vr7CGA-892x-3wx6-fqcpCGA-89gm-r8wc-2qj6CGA-8f63-xpj3-4wwrCGA-8f7x-w4fv-36p5CGA-8hf4-98r2-xmqvCGA-8w78-9m56-fv23CGA-9666-ww2w-24gpCGA-96fj-qf52-w727CGA-9gg2-9f6j-q4gxCGA-9r68-m634-729cCGA-c5j4-fmq7-cfx8CGA-c5wv-cfxf-fm53CGA-c668-5px9-r99pCGA-c6h3-x593-6hg5CGA-c9m7-jwf7-6m2hCGA-cgxg-hjf5-vcgfCGA-ch3r-wvmm-hv3fCGA-f5v9-gjvv-64g3CGA-f7c6-6ffr-74xvCGA-f7q9-6r94-xj5jCGA-fj62-6vfc-hx2qCGA-fmw7-7jhq-m8q4CGA-fwmx-xxph-g7fxCGA-g33f-4gfg-w9hfCGA-g469-5v9p-5gqrCGA-g6f4-6r43-965jCGA-g76m-mhv3-7v8vCGA-g8j4-6w8c-cw65CGA-gjc9-63p7-q6x8CGA-gmhq-42q2-74jpCGA-grqf-5f4g-5mq4CGA-h5pf-9j27-gjf3CGA-hv6q-mhhg-pw75CGA-j74r-5cq5-pq3pCGA-j9vx-934h-rrw7CGA-jgjf-7j83-23g5CGA-jq26-m7gr-pj6gCGA-jqxp-7qhg-7jppCGA-m24x-pmjr-h8q9CGA-m4jc-2vgv-w7gmCGA-mf5w-78wv-mjcmCGA-mw7w-h6p3-j342CGA-pcjw-7v67-7q55CGA-pr72-ccfq-9jcxCGA-pw26-28gp-h5m9CGA-pwh6-pc9w-9wq5CGA-233p-8g4p-5c24CGA-23gf-9p7p-fcwwCGA-23xw-m2g2-x994CGA-29fw-jh59-5g2wCGA-2qc8-hpch-8gr9CGA-2rfg-v6jx-w75hCGA-2w4j-73rm-5pw7CGA-32hj-v9v9-rcmxCGA-34xm-747w-q3gwCGA-3833-8887-2h96CGA-3876-xhfj-8prgCGA-3898-54rj-38rrCGA-398f-65f9-7gvvCGA-39fh-v384-vf2wCGA-3ffw-2pwq-qmj2CGA-3fxr-pvmr-vrp4CGA-3p7g-8562-rq95CGA-3qw6-wg4w-25vcCGA-3w58-48mr-cfmmCGA-3wh4-q8q5-q7qmCGA-43h3-pfw9-m7m5CGA-44gp-hxxw-7hp6CGA-45q3-f3w9-p5vgCGA-45rx-25xc-chxqCGA-46wg-fh6r-prjpCGA-478g-rq29-mq75CGA-4gjj-xpr4-m6v8CGA-4jf5-pm97-g4gjCGA-4jjr-cfgj-5rgpCGA-4jpf-457g-q6p7CGA-4p2c-9g2q-36qpCGA-4p74-2338-vp59CGA-4q3m-rcp5-r84pCGA-4r2w-6v6j-3v3hCGA-4v29-xq6v-jqv2CGA-4vp8-7g6x-2hxhCGA-4wrx-j5jc-rh77CGA-4xmh-ph83-97c4CGA-4xwr-6wv7-4rw6CGA-5254-4r95-v5hmCGA-562x-g39c-xx3cCGA-564g-mphx-hhgwCGA-56cw-f3j6-7phmCGA-56hq-3xff-8j3xCGA-56jp-vhjg-53r2CGA-56pm-235r-r38wCGA-56wv-h48w-hpg6CGA-59xm-j292-q2r6CGA-5fj9-qvp8-hx9pCGA-5jrf-8c8p-6m5gCGA-5mm9-2mfm-qjqcCGA-5ph7-7rhj-pqrvCGA-5qrv-j4xq-8rhqCGA-62xm-5494-8x5rCGA-65pw-x8pg-g57pCGA-66vw-hc96-w2qpCGA-6957-vc3p-cr74CGA-6j27-7q23-gf54CGA-6jf4-m59p-w7hgCGA-6jw9-v4jc-pgwrCGA-6rcm-322p-2pmqCGA-7h69-hj6j-v55mCGA-7hm4-h25p-gx54CGA-7mmp-vxwh-5r8xCGA-7qxr-gq2g-j426CGA-7rph-pch7-w8mhCGA-7w3p-r72j-3qxfCGA-83fg-xgqq-jv58CGA-846q-q5vw-5553CGA-855h-crch-pqgxCGA-857h-3mfc-j7jrCGA-8663-678f-3gx9CGA-896w-mjrg-3r9mCGA-8984-q27c-79gcCGA-8c63-j86g-p957CGA-8g34-jv8r-6898CGA-8j76-8953-r2h2CGA-8jmw-p24q-ggr3CGA-8qf6-5q62-2fvrCGA-92q2-xm2p-2w7gCGA-943p-r83m-g9qwCGA-94wf-mqcm-2x56CGA-96w5-2ggr-vfj6CGA-96xv-jf7j-5f56CGA-97vh-9mvh-3q3mCGA-98f8-669g-9ppcCGA-9ffv-99j2-hf45CGA-9gfx-q66q-3vg2CGA-9h7c-2h2v-fqjwCGA-9hrh-9wrg-v2cwCGA-9pw6-4gq2-92f4CGA-9qfq-f237-4gv6CGA-9r54-pmfv-4rchCGA-9r83-36cg-vcphCGA-9wg5-xfpf-j79vCGA-c49c-vh76-h9whCGA-c86v-84rr-7569CGA-c9p5-fhxg-hx3gCGA-cc2x-jmvw-q68vCGA-cf63-8jc5-5xrxCGA-cp67-qgx4-5556CGA-cr88-p9xv-rpmfCGA-cv2r-8q2g-6jg3CGA-f32g-pw3c-hwq2CGA-f6g2-p65f-gwf3CGA-f6j4-3rh3-658qCGA-f857-255g-vj54CGA-f993-5xr3-jcr9CGA-f9wj-6h4j-vw2xCGA-fhhv-2v82-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vx-j72fCGA-x3xq-qw5x-cg58CGA-x4fv-496q-6cx9CGA-x67h-g757-pqcgCGA-xc25-88mr-7wj8CGA-xg2p-4fmc-q5cgCGA-xhgj-p29f-xp74CGA-xqj9-pch6-7j66CGA-xqx5-3cv9-vqc2CGA-xr2x-c5hw-9j5xCGA-xr9v-4wpg-p9rvCGA-xv46-9g2x-29f8CGA-xvfh-6w48-6c9wCGA-xvv8-gxmg-98p2CGA-xw92-9rg2-29q3CGA-xx68-5fv4-fvf7CGA-xx88-444v-w3fhCGA-xxc9-76xx-cfpmCGA-3q6q-9jfh-j2hmCGA-pjfc-2wvh-g486CGA-55mv-xj67-jfmcCGA-9rrm-4q4w-w2gpCGA-7649-6wpm-g4fvCGA-gm6m-86xc-h28hCGA-pm93-gf49-23rvCGA-q2mc-493w-48hvCGA-2q3q-mwcj-wj8qCGA-xp3p-2xc7-hq66
Awaiting Analysis
Published: 16 May 2026, 23:21
Last modified:18 May 2026, 14:02

Vulnerability Summary

Overall Risk (default)
medium
25/100
CVSS Score
6.3 MEDIUM
v4.0 (cve.org)
EPSS Score
0.36% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

16 May 2026, 23:21
Published
Vulnerability first disclosed
18 May 2026, 14:02
Last Modified
Vulnerability information updated

Description

### 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: ```js 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 ```js 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: ```diff - 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 Metrics

  • v4.0MEDIUMScore: 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
  • v4.0MEDIUMScore: 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Trends

Current EPSS score: 0.36% Percentile: 30%

Techniques & Countermeasures

  • CWE-476NULL Pointer Dereference

    The product dereferences a pointer that it expects to be valid but is NULL.

Affected Systems

  • chainguardarangodb-3.12

    < 3.12.9.3-r1

  • chainguardargo-workflows-ui-3.6

    < 3.6.19-r7

  • chainguardargo-workflows-ui-3.7

    < 3.7.14-r4

  • chainguardargo-workflows-ui-4.0

    < 4.0.5-r5

  • chainguardcode-server

    < 4.121.0-r1

  • chainguardcommercial-gitlab-rails-ee-19.1

    all

  • chainguardcommercial-gitlab-rails-ee-19.2

    all

  • chainguardcommercial-gitlab-rails-ee-19.3

    all

  • chainguardcommercial-gitlab-rails-ee-fips-19.1

    all

  • chainguardcommercial-gitlab-rails-ee-fips-19.2

    all

  • chainguardgitlab-rails-ce-18.1

    all

  • chainguardgitlab-rails-ce-18.10

    all

  • chainguardgitlab-rails-ce-18.11

    all

  • chainguardgitlab-rails-ce-18.5

    all

  • chainguardgitlab-rails-ce-18.6

    all

  • chainguardgitlab-rails-ce-18.7

    all

  • chainguardgitlab-rails-ce-18.8

    all

  • chainguardgitlab-rails-ce-18.9

    all

  • chainguardgitlab-rails-ce-19.0

    < 19.0.3-r1 | all

  • chainguardgitlab-rails-ce-19.1

    all | < 19.1.7-r6

  • chainguardgitlab-rails-ce-19.2

    all | < 19.2.5-r2

  • chainguardgitlab-rails-ce-19.3

    < 19.3.1-r6

  • chainguardgitlab-rails-ce-fips-18.1

    all | < 18.1.6-r15

  • chainguardgitlab-rails-ce-fips-18.10

    all

  • chainguardgitlab-rails-ce-fips-18.11

    all

  • chainguardgitlab-rails-ce-fips-18.5

    all

  • chainguardgitlab-rails-ce-fips-18.6

    all

  • chainguardgitlab-rails-ce-fips-18.7

    all

  • chainguardgitlab-rails-ce-fips-18.8

    all

  • chainguardgitlab-rails-ce-fips-18.9

    all

  • chainguardgitlab-rails-ce-fips-19.0

    all

  • chainguardgitlab-rails-ce-fips-19.1

    < 19.1.1-r1 | all | < 19.1.7-r7

  • chainguardgitlab-rails-ce-fips-19.2

    all | < 19.2.5-r2

  • chainguardgitlab-rails-ce-fips-19.3

    < 19.3.1-r3

  • chainguardjson-server

    < 0.17.4-r7

  • chainguardjupyter-base-notebook

    all

  • chainguardkatib-earlystopping

    < 0.19.0-r31

  • chainguardkatib-suggestion-goptuna-compat

    all

  • chainguardkatib-suggestion-hyperband

    < 0.19.0-r31

  • chainguardkatib-suggestion-hyperopt

    < 0.19.0-r31 | < 0.19.0-r40

  • chainguardkatib-suggestion-nas-darts

    < 0.19.0-r31

  • chainguardkatib-suggestion-nas-enas

    < 0.19.0-r31

  • chainguardkatib-suggestion-optuna-enas

    < 0.19.0-r31

  • chainguardkatib-suggestion-pbt-enas

    < 0.19.0-r31

  • chainguardkatib-suggestion-skopt-enas

    < 0.19.0-r31

  • chainguardkatib-tfevent-metricscollector

    < 0.19.0-r31

  • chainguardkibana-9.2

    < 9.2.8-r4

  • chainguardkibana-9.2-iamguarded

    < 9.2.8-r4

  • chainguardkibana-9.3

    < 9.3.5-r0

  • chainguardkibana-9.3-iamguarded

    < 9.3.5-r0

Showing first 50 affected entries in server-rendered view.

References (14)