CVE-2026-134813: 
Grafana analisi e mitigazione delle vulnerabilità

Panoramica

CVE-2026-134813 is a decompression bomb (data amplification) vulnerability affecting Faye's WebSocket libraries for Node.js. Specifically, it impacts websocket-driver versions 0.5.0 through <0.8.0, permessage-deflate versions <0.2.0, and websocket-extensions versions <0.2.0. The flaw allows unauthenticated remote clients to send highly compressible WebSocket messages that are fully inflated before the maxLength limit is enforced, causing excessive memory allocation and potential server crash. It was published on November 22, 2026, with a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory, permessage-deflate Advisory).

Dettagli tecnici

The root cause is classified as CWE-409: Improper Handling of Highly Compressed Data (Data Amplification). In the vulnerable code path, Session.prototype.processIncomingMessage() in permessage-deflate fully decompresses incoming WebSocket frames via zlib inflate before passing the result back to websocket-driver for size validation — meaning the maxLength option configured in websocket-driver or faye-websocket is never forwarded to the extension layer. An attacker negotiating the permessage-deflate extension can compress a large payload (e.g., 4 MiB of repeated bytes) down to ~4 KB, send it over the wire, and force the server to allocate the full decompressed buffer before any size check occurs. The fix required propagating the maxLength option through websocket-extensions to permessage-deflate, which then enforces the limit incrementally as zlib inflate output is consumed (permessage-deflate Advisory, permessage-deflate commit, websocket-driver commit).

Impatto

Successful exploitation results in a Denial of Service (DoS) — the server process exhausts available memory and crashes. There is no confidentiality or integrity impact; the vulnerability is purely an availability issue. Any server running a WebSocket stack that includes the permessage-deflate extension (via websocket-driver, faye-websocket, or similar libraries) in a memory-constrained environment is at risk, and the attack can be triggered by any unauthenticated remote client that negotiates the compression extension (permessage-deflate Advisory, GitHub Advisory).

Sfruttabilità

No public proof-of-concept exploit code has been observed, and there is no evidence of active in-the-wild exploitation at this time (GitHub Advisory). The NVD SSVC assessment notes the vulnerability is automatable and a PoC exists in the security advisory itself (the advisory includes a working client/server demonstration), though it has not been weaponized in exploit kits. The EPSS score is approximately 0.66%, indicating low but non-negligible probability of exploitation in the near term. No threat actor attribution is available, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Fasi di sfruttamento

  1. Identify a vulnerable target: Locate a Node.js WebSocket server using websocket-driver (0.5.0–0.7.x), faye-websocket, or any library built on these packages with permessage-deflate enabled.
  2. Initiate a WebSocket connection: Connect to the target server using a WebSocket client that supports and negotiates the permessage-deflate extension (e.g., using the websocket-driver npm package with deflate added as an extension).
  3. Craft a decompression bomb payload: Construct a large buffer of highly compressible data — for example, a 4 MiB Buffer filled with a single repeated byte (Buffer.alloc(4 << 20)).
  4. Send the compressed message: Transmit the payload as a binary WebSocket frame. The permessage-deflate extension compresses it to roughly 1/1,000th of its original size (~4 KB on the wire).
  5. Trigger server-side memory exhaustion: Upon receipt, the vulnerable server fully inflates the message to its original 4 MiB size before checking against maxLength, allocating excessive memory. Repeating this process rapidly can exhaust server memory and crash the process (permessage-deflate Advisory).

Indicatori di compromissione

  • Network: Repeated WebSocket connections from the same client IP negotiating permessage-deflate; small incoming WebSocket frames (a few KB) that trigger disproportionately large memory allocations on the server.
  • Process: Node.js server process exhibiting sudden spikes in heap memory usage followed by crashes or OOM (out-of-memory) kills; unexpected process restarts of the WebSocket server.
  • Logs: Server logs showing WebSocket close events with code 1009 ("WebSocket frame length too large") in rapid succession from the same or rotating source IPs; application crash dumps or core files generated by the Node.js process.
  • System: Operating system OOM killer events in /var/log/syslog or dmesg targeting the Node.js process; elevated swap usage or memory pressure alerts coinciding with WebSocket traffic spikes.

Mitigazione e soluzioni alternative

Upgrade all three affected packages to their patched versions: websocket-driver ≥ 0.8.0, permessage-deflate ≥ 0.2.0, and websocket-extensions ≥ 0.2.0 — all three must be updated together for the fix to take effect, as the maxLength option must be propagated through the entire chain (permessage-deflate commit, websocket-extensions commit, websocket-driver commit). As an immediate workaround if patching is not possible, remove or disable the permessage-deflate extension from the server configuration entirely, which eliminates the attack surface. Rate-limiting WebSocket connections per IP can also reduce the impact of repeated exploitation attempts.

Reazioni della comunità

The vulnerability was reported by researcher zachariah-mithani and disclosed by jcoglan (the Faye project maintainer) via a GitHub Security Advisory on November 17, 2026 (permessage-deflate Advisory). Community aggregators including RedPacketSecurity and TheHackerWire shared the disclosure on Mastodon, and security intelligence platforms such as VulnDB, Brandefense, and Cloudflare Radar indexed the CVE shortly after publication. General community sentiment reflects the vulnerability as a well-understood class of issue (decompression bomb) with a straightforward patch, and no significant controversy or debate has been observed.

Risorse aggiuntive

Stato delle patch per la distribuzione Linux

Disponibilità delle patch per le principali distribuzioni Linux e relative versioni.

Ubuntu

Sconosciuto

bionic (esm-apps)

node-websocket-driver

Sconosciuto

devel

node-websocket-driver

Sconosciuto

focal (esm-apps)

node-websocket-driver

Sconosciuto

jammy

node-websocket-driver

Sconosciuto

jammy (esm-apps)

node-websocket-driver

Sconosciuto

noble

node-websocket-driver

Sconosciuto

noble (esm-apps)

node-websocket-driver

Sconosciuto

resolute

node-websocket-driver

Sconosciuto

RHEL / CentOS

Interessato

RHEL 8

grafana.src

Interessato

RHEL 9

grafana.src

Interessato

RHEL 10

grafana.src

Interessato

Fonte: Questo report è stato generato tramite IA

Vulnerabilità correlate di Grafana:

CVE ID

Gravità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Dispone di patch

Data di pubblicazione

CVE-2026-134815CRITICAL9.2
  • Grafana logoGrafana
  • grafana-postgres
NoNoNov 22, 2026
CVE-2026-134813HIGH8.7
  • Grafana logoGrafana
  • cockpit-ha-cluster
NoNoNov 22, 2026
CVE-2026-133937MEDIUM5.5
  • Grafana logoGrafana
  • grafana-opentsdb
NoNoNov 20, 2026
CVE-2026-10084MEDIUM5.3
  • Grafana logoGrafana
  • cpe:2.3:a:grafana:grafana
NoSìNov 24, 2026
CVE-2026-133487LOW2.1
  • Grafana logoGrafana
  • nodejs24.src
NoSìNov 20, 2026

Valutazione gratuita delle vulnerabilità

Valuta la tua postura di sicurezza del cloud

Valuta le tue pratiche di sicurezza del cloud in 9 domini di sicurezza per stabilire un benchmark del tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Ulteriori risorse Wiz

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità