CVE-2026-8723: qs.stringify crashes on null/undefined entries in comma-format arrays under encodeValuesOnly
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 25/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %0,39 (FIRST EPSS).
- İnternetten erişebilen herkes tetikleyebilir. Hesap ya da parola gerekmez. Kullanıcının bir şey yapması gerekmez. Özel bir koşul gerekmez; tekrarlanabilir.
- CISA'ya göre saldırı otomatikleştirilebilir: toplu taramalarla hedef bulunabilir.
- Düzeltilmiş sürüm: ljharb qs 6.15.2.
Şimdilik düşük öncelik. ljharb qs 6.15.2 ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
### 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`).
- Yayın
- 17 May 2026
- Güncelleme
- 23 Eki 2026
- EPSS
- %0,3 · 34. yüzdelik
- CWE
- CWE-476
Rapor araçları
Aksiyon skoru
25
Şimdilik düşük öncelik.
- CVSS
- 25 / 40 · 6.3 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,3
CISA SSVC kararı
- Sömürü
- kavram kanıtı
- Otomatikleştirilebilir
- evet
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- —
- CNA · harborist
- 5,3
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
Sürümünüz etkileniyor mu? Kontrol edinNoroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
—
Üreticinin bildirdiği sürümler
Kaydı açan otorite (harborist) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
ljharb qs
- 6.11.1 ve sonrası · 6.15.2 öncesietkilenir · semver
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:12 | node-qs | 0 itibarıyla | — |
| Debian:14 | node-qs | 6.15.2+ds+~6.15.1-1 öncesi | 6.15.2+ds+~6.15.1-1 |
| npm | qs | 6.11.1 itibarıyla · 6.15.2 öncesi | 6.15.2 |
| Red Hat:hummingbird:1 | dotnet8.0 | 0:8.0.127-1.hum1 öncesi | 0:8.0.127-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20 | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-bin | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-devel | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-docs | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-full-i18n | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-libs | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-npm | 0:10.8.2-1.20.20.2.1.hum1 öncesi | 0:10.8.2-1.20.20.2.1.hum1 |
| Red Hat:hummingbird:1 | nodejs20-npm-bin | 0:20.20.2-1.hum1 öncesi | 0:20.20.2-1.hum1 |
| Red Hat:hummingbird:1 | python3.14 | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
| Red Hat:hummingbird:1 | python3.14 | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-debug | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-debug | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
| Red Hat:hummingbird:1 | python3.14-devel | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
| Red Hat:hummingbird:1 | python3.14-devel | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading-debug | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading-debug | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading-devel | 0:3.14.6-1.1.hum1 öncesi | 0:3.14.6-1.1.hum1 |
| Red Hat:hummingbird:1 | python3.14-freethreading-devel | 0:3.14.6-1.4.hum1 öncesi | 0:3.14.6-1.4.hum1 |
+16
Aynı üründe
ljharb: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2026-110910qs.stringify with allowEmptyArrays does not encode the keys of empty arrays, allowing query string parameter injection25İzleyin
- CVE-2026-110816qs.stringify with arrayFormat comma throws TypeError on array elements that cannot be coerced to a string25İzleyin
- CVE-2026-82562qs.parse does not enforce arrayLimit on comma groups under bracket-push keys when throwOnLimitExceeded is set (incomplete fix for CVE-2026-2391)25İzleyin
Bu üründe bundan önce ve sonra yayımlananlar
- Sonraki →CVE-2026-8241729 Ağu 2026 · qs.stringify throws TypeError on objects with a non-callable constructor.isBuffer property25İzleyin
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| ljharb qs | 6.15.2 | Üretici (CNA) |
| debian:node-qs | 6.15.2+ds+~6.15.1-1 · Debian:14 | Paket deposu (OSV) |
| npm:qs | 6.15.2 | Paket deposu (OSV) |
| red hat:dotnet8.0 | 0:8.0.127-1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:nodejs20 | 0:20.20.2-1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:nodejs20-bin | 0:20.20.2-1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14 | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-debug | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-devel | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-debug | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-devel | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-idle | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-libs | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-test | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-freethreading-tkinter | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
| red hat:python3.14-idle | 0:3.14.6-1.1.hum1 · Red Hat:hummingbird:1 | Paket deposu (OSV) |
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
Yayın dışında tarihli olay yok.
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıklayın, aynı araştırmacının diğer kayıtlarını görün.
- joannalangebildiren
Bu kayıtta yok: EPSS geçmişi · varyant ya da zincir adayı · herkese açık ödül programı.
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- Bütünlük
- Erişilebilirlik
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- X
Zayıflık sınıfı (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vektörü
CVSS: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
nvd-secondary
Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
Değişiklik günlüğü (1)
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (1 daha)Daha az göster
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.