- Veröffentlicht
- 15.10.2026 00:05
- Zuletzt geändert
- 19.11.2026
- EPSS (30 Tage)
- 0.4 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
### Summary
`qs.stringify` with `arrayFormat: 'comma'` throws `TypeError: Cannot convert object to primitive value` when an array element cannot be coerced to a string, such as an object with an own non-callable `toString` (`{ "toString": "x" }`) or a null-prototype object. The comma format joins array elements with `Array.prototype.join` and, under `encodeValuesOnly`, first passes each element through `String()` in `utils.encode`; neither guards against an element whose string coercion fails.
### Details
In `lib/stringify.js`, the comma branch collapses the array with `obj.join(',')`. For an element whose own `toString` is not callable, `ToPrimitive` skips it, falls through to `Object.prototype.valueOf` (which returns the object itself), and throws. Under `encodeValuesOnly: true`, the same element first reaches `String(str)` in `utils.encode` (`lib/utils.js`) and throws there. Nested arrays (`{ "a": [[{ "toString": "x" }]] }`) throw the same way, through `Array.prototype.toString`. The `indices`, `brackets`, and `repeat` formats walk into object elements instead of coercing them, and are not affected.
Such elements can come from untrusted input. `JSON.parse` produces `{ "a": [{ "toString": "x" }] }` with no qs option involved. `qs.parse("a[0][toString]=x", { allowPrototypes: true })` keeps the `toString` key, and `qs.parse("a[][b]=c", { plainObjects: true })` produces a null-prototype element; the default parse options drop `toString` and produce ordinary objects, which do not throw. Express 4's default `query parser`, Express 5's `extended` query parser, and body-parser's `urlencoded({ extended: true })` all call `qs.parse` with `allowPrototypes: true`.
#### PoC
```js
var qs = require("qs");
qs.stringify(JSON.parse("{\"a\":[{\"toString\":\"x\"}]}"), { arrayFormat: "comma" });
qs.stringify(qs.parse("a[0][toString]=x", { allowPrototypes: true }), { arrayFormat: "comma" });
qs.stringify(qs.parse("a[][b]=c", { plainObjects: true }), { arrayFormat: "comma", encodeValuesOnly: true });
// TypeError: Cannot convert object to primitive value
```
#### Fix
Applied in a952e75 on `main` and released as v6.16.1: an element whose string coercion would fail is coerced to its primitive `valueOf`, if any, or else to `Object.prototype.toString`, so it renders as `[object Object]`, the same as any other object element already does under the comma format. Nested arrays are walked the way `join` walks them. Every input that did not previously throw serializes exactly as before, and a `toString` or `valueOf` that itself throws still propagates.
### Affected versions
`>=6.7.0 <6.16.1`, fixed in v6.16.1.
The `join` path was introduced with the comma format in b84acba and first shipped in v6.7.0; v6.6.x and earlier ignore `arrayFormat: 'comma'` and are not affected. The `encodeValuesOnly` `String()` site was introduced in 4c4b23d (v6.11.1); before that, the same input throws at `join`. Every release from v6.7.0 through v6.16.0 is affected.
### Impact
An unauthenticated request can make any code path that re-serializes attacker-influenced data with `qs.stringify` and `arrayFormat: 'comma'` (for example, rebuilding a query string from `req.query` for a redirect or an upstream request, or serializing a parsed JSON body) throw synchronously. In a typical Node.js HTTP framework the throw is caught by the framework error boundary and the affected request returns a 500; the process survives and other requests are unaffected. Where the call runs outside an error boundary, such as an `async` Express 4 handler (where the throw becomes an unhandled promise rejection) or a bare `http` request handler, the process exits, so the impact in that case depends on the application error handling rather than on qs. The default `arrayFormat` (`indices`) is not affected.
Status beim Hersteller
SUSE stuft seine Produktlinien ein: 49 betroffen, 2 behoben, 26 nicht betroffen.
SUSE Linux Enterprise Desktop 15 SP7
Betroffen
pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise High Performance Computing 12 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise High Performance Computing 15 SP1
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise High Performance Computing 15 SP2
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise High Performance Computing 15 SP3
Betroffen
nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise High Performance Computing 15 SP4
Betroffen
nodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
Betroffen
nodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise High Performance Computing 15 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Micro 5.3
Betroffen
cockpit-machines
SUSE Linux Enterprise Micro 5.4
Betroffen
cockpit-machines
SUSE Linux Enterprise Micro 5.5
Betroffen
cockpit-machines
SUSE Linux Enterprise Module for Python 3 15 SP7
Betroffen
pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Module for Web and Scripting 15 SP7
Betroffen
nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Enterprise Server 12 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server 12 SP5-LTSS
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server 15 SP1
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server 15 SP1-LTSS
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server 15 SP2
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server 15 SP2-LTSS
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server 15 SP3
Betroffen
nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server 15 SP3-LTSS
Betroffen
nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server 15 SP4
Betroffen
nodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server 15 SP4-LTSS
Betroffen
nodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server 15 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server 15 SP5-LTSS
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server 15 SP6
Betroffen
nodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22, pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Server 15 SP6-LTSS
Betroffen
nodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22, pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Server 15 SP7
Betroffen
nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24, pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Server 16.0
Betroffen
cockpit-machines, corepack22, corepack24, nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24, velociraptor
SUSE Linux Enterprise Server 16.1
Betroffen
cockpit-machines, confidential-computing.tee.dcap.pccs, corepack24, nodejs24, nodejs24-devel, nodejs24-docs, npm24, suse-sgx-dcap-pccs, system-user-pccs, velociraptor
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server Teradata 15 SP4
Betroffen
nodejs16, nodejs18
SUSE Linux Enterprise Server for NVIDIA 16.1
Betroffen
cockpit-machines, corepack24, nodejs24, nodejs24-devel, nodejs24-docs, npm24, velociraptor
SUSE Linux Enterprise Server for SAP Applications 12 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server for SAP Applications 15 SP1
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server for SAP Applications 15 SP2
Betroffen
nodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server for SAP Applications 15 SP3
Betroffen
nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server for SAP Applications 15 SP4
Betroffen
nodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server for SAP Applications 15 SP5
Betroffen
nodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server for SAP Applications 15 SP6
Betroffen
nodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22, pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Server for SAP Applications 15 SP7
Betroffen
nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24, pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin
SUSE Linux Enterprise Server for SAP applications 16.0
Betroffen
cockpit-machines, corepack22, corepack24, nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24, velociraptor
SUSE Linux Enterprise Server for SAP applications 16.1
Betroffen
cockpit-machines, confidential-computing.tee.dcap.pccs, corepack24, nodejs24, nodejs24-devel, nodejs24-docs, npm24, suse-sgx-dcap-pccs, system-user-pccs, velociraptor
SUSE Linux Micro 6.0
Betroffen
cockpit-machines
SUSE Linux Micro 6.1
Betroffen
cockpit-machines
SUSE Linux Micro 6.2
Betroffen
cockpit-machines
openSUSE Leap 16.0
Betroffen
cockpit-machines, nodejs22, nodejs24, velociraptor
openSUSE Leap 16.1
Betroffen
cockpit-machines, confidential-computing.tee.dcap.pccs, nodejs24, velociraptor
Red Hat Hardened Images
Behoben
grafana12.4-12.4.13-0.4.hum1, grafana13.1-13.1.8-0.3.hum1, grafana13.2-13.2.3-0.3.hum1
RHSA-2026:85266, RHSA-2026:87077, RHSA-2026:90388
openSUSE Tumbleweed
Behoben
git-bug-0.11.0-3.1, git-bug-bash-completion-0.11.0-3.1, git-bug-fish-completion-0.11.0-3.1, git-bug-zsh-completion-0.11.0-3.1
Nicht betroffen (26)
Red Hat Hardened ImagesNicht betroffenKomponente nicht enthaltenprometheus3.13, yarnpkg
SUSE Linux Enterprise High Performance Computing 15 SP1Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP2Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP3Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP4Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP5Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Module for Package Hub 15 SP7Nicht betroffengolang-github-prometheus-prometheus, python-pytest-html, python3-pytest-html
SUSE Linux Enterprise Server 15 SP1Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP1-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP2Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP2-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP3Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP3-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP4Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP4-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP5Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server 15 SP5-LTSSNicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server Teradata 15 SP4Nicht betroffenpgadmin4
SUSE Linux Enterprise Server for SAP Applications 15 SP1Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server for SAP Applications 15 SP2Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server for SAP Applications 15 SP3Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server for SAP Applications 15 SP4Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Linux Enterprise Server for SAP Applications 15 SP5Nicht betroffenpgadmin4, pgadmin4-doc, pgadmin4-web
SUSE Multi-Linux Manager Client Tools for SLE 15Nicht betroffengolang-github-prometheus-prometheus
Betroffene Pakete im beobachteten Stack
Red Hat:hummingbird:1grafana12.40:12.4.13-0.4.hum1CVE-2026-110816
Red Hat:hummingbird:1grafana12.40:12.4.13-0.4.hum1RHSA-2026:90388 (über RHSA-2026:90388)
Red Hat:hummingbird:1grafana13.10:13.1.8-0.3.hum1CVE-2026-110816
Red Hat:hummingbird:1grafana13.10:13.1.8-0.3.hum1RHSA-2026:87077 (über RHSA-2026:87077)
Red Hat:hummingbird:1grafana13.20:13.2.3-0.3.hum1CVE-2026-110816
Red Hat:hummingbird:1grafana13.20:13.2.3-0.3.hum1RHSA-2026:85266 (über RHSA-2026:85266)
Weitere betroffene Pakete (30)
Azure Linux:3js-jquerykein Fix bekanntAZL-108309
Azure Linux:3python-tensorboardkein Fix bekanntAZL-108477
CVEljharb/qs6.7.0 → 6.16.1CVE-2026-110816
Debian:12node-qskein Fix bekanntDEBIAN-CVE-2026-110816
Debian:13node-qskein Fix bekanntDEBIAN-CVE-2026-110816
Debian:14node-qskein Fix bekanntDEBIAN-CVE-2026-110816
TuxCare:npmqs6.15.3-tuxcare.0 → 6.15.3-tuxcare.3CLSA-2026-1792139175
TuxCare:npmqs6.14.0-tuxcare.0 → 6.14.0-tuxcare.5CLSA-2026-1793445859
TuxCare:npmqs6.7.0-tuxcare.0 → 6.7.0-tuxcare.4CLSA-2026-1793448315
TuxCare:npmqs6.10.3-tuxcare.0 → 6.10.3-tuxcare.5CLSA-2026-1793448399
TuxCare:npmqs6.10.4-tuxcare.0 → 6.10.4-tuxcare.3CLSA-2026-1793448489
TuxCare:npmqs6.11.2-tuxcare.0 → 6.11.2-tuxcare.3CLSA-2026-1793448581
TuxCare:npmqs6.14.2-tuxcare.0 → 6.14.2-tuxcare.2CLSA-2026-1793448873
TuxCare:npmqs6.13.0-tuxcare.0 → 6.13.0-tuxcare.5CLSA-2026-1793449041
TuxCare:npmqs6.11.0-tuxcare.0 → 6.11.0-tuxcare.5CLSA-2026-1793451308
TuxCare:npmqs6.10.7-tuxcare.0 → 6.10.7-tuxcare.6CLSA-2026-1793451410
TuxCare:npmqs6.9.6-tuxcare.0 → 6.9.6-tuxcare.1CLSA-2026-1794058800
TuxCare:npmqs6.9.1-tuxcare.0 → 6.9.1-tuxcare.1CLSA-2026-1794060891
TuxCare:npmqs6.13.4-tuxcare.0 → 6.13.4-tuxcare.1CLSA-2026-1794645504
TuxCare:npmqs6.15.4-tuxcare.0 → 6.15.4-tuxcare.1CLSA-2026-1794645591
Ubuntu:16.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:18.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:22.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:24.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:26.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:26.10node-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:Pro:14.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
Ubuntu:Pro:20.04:LTSnode-qskein Fix bekanntUBUNTU-CVE-2026-110816
npmqs6.7.0 → 6.16.1GHSA-6pq8-jhm2-2vcw
openSUSE:Tumbleweedgit-bug0.11.0-3.1openSUSE-SU-2026:12261-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/ljharb/qs/security/advisories/GHSA-6pq8-jhm2-2vcw
- github.com/ljharb/qs/commit/a952e7519338ef0cfb25694a2988848f93333727
- www.suse.com/security/cve/CVE-2026-110816
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1285704
- nvd.nist.gov/vuln/detail/CVE-2026-110816
- security-tracker.debian.org/tracker/CVE-2026-110816
- github.com/ljharb/qs
- github.com/ljharb/qs/releases/tag/v6.16.1
- ubuntu.com/security/CVE-2026-110816
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-110816.json
- access.redhat.com/security/cve/CVE-2026-110816
- bugzilla.redhat.com/show_bug.cgi