Skip to main content

websocket-driver CVE-2026-54490

| EUVDEUVD-2026-45336 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-15 https://github.com/faye/websocket-driver-node GHSA-mp7j-qc5w-4988
6.3
CVSS 4.0 · Vendor: https://github.com/faye/websocket-driver-node
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Connect to WebSocket endpoint
  2. Delivery
    Negotiate permessage-deflate extension during handshake
  3. Exploit
    Craft high-ratio compressed payload frames
  4. Install
    Send frames within compressed size limit
  5. C2
    Server bypasses decompressed size check
  6. Execute
    Decompress oversized payload into memory
  7. Impact
    Exhaust server resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two specific conditions to be met simultaneously: the target application must use the websocket-driver npm package in a version prior to 0.7.5, and the permessage-deflate WebSocket compression extension must be negotiated and active on the connection. The permessage-deflate extension is not enabled by default in all configurations - it must be explicitly supported and accepted by the server or client. Both server-side and client-side deployments of websocket-driver are affected depending on which endpoint processes incoming compressed frames. Limiting factors include: the extension negotiation requirement (attacker must confirm the endpoint supports permessage-deflate), impact restricted to resource exhaustion with no code execution or data exposure, and the need for sustained or repeated message delivery to meaningfully exhaust resources. There is no requirement for authentication or prior session state beyond completing the WebSocket handshake.

Impact

No CVSS vector was supplied for this CVE, so all metric assessments are independently derived. The vulnerability is network-exploitable with no authentication required and no user interaction needed, placing it in a high-severity category by vector alone. However, the real-world impact is bounded to Denial of Service (resource exhaustion) with no confidentiality or integrity consequences. The critical limiting factor is that the permessage-deflate extension must be actively negotiated between the two WebSocket peers - applications that do not enable this extension are not affected. No EPSS score is available, no KEV listing exists, and no public proof-of-concept has been identified, suggesting exploitation has not been observed in the wild. Overall, this is a genuine risk for Node.js services that use websocket-driver with compression enabled at scale, but the absence of code execution impact and the configuration prerequisite lower the operational priority compared to a typical unauthenticated RCE.

Exploit ScenarioDerived

An attacker with network access to a WebSocket endpoint running websocket-driver < 0.7.5 initiates a connection and negotiates the permessage-deflate extension during the WebSocket handshake. The attacker then transmits a series of crafted compressed frames containing repetitive or specially structured data that decompresses to payloads far exceeding the server's configured maximum message size. Because the size check evaluates only the compressed frame headers, the server accepts each frame and expands the decompressed content into memory, potentially exhausting available resources and causing service degradation or unavailability. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Resource limit bypass in the websocket-driver npm library (versions < 0.7.5) allows WebSocket messages to exceed the application's configured maximum message size when the permessage-deflate compression extension is active. The size enforcement is applied to compressed frame length headers rather than the decompressed payload, meaning a highly compressed message can appear within limits on the wire but expand arbitrarily upon decompression. Vendor-released patch is available in version 0.7.5; no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: 0.7.5. All users of websocket-driver should upgrade to version 0.7.5 immediately, available via npm (npm install websocket-driver@0.7.5) and documented at https://github.com/faye/websocket-driver-node/releases/tag/0.7.5. The fix applies the message size check after decompression by the extension pipeline, correctly enforcing configured limits. The vendor advisory at https://github.com/faye/websocket-driver-node/security/advisories/GHSA-mp7j-qc5w-4988 confirms no known workarounds exist. If upgrade cannot be applied immediately, a compensating control is to disable the permessage-deflate extension at the application layer - this eliminates the vulnerable code path entirely but removes WebSocket compression, which may increase bandwidth consumption and reduce throughput for high-volume applications. Alternatively, deploying an upstream reverse proxy or WAF that enforces hard limits on WebSocket frame and message sizes at the network layer can reduce exposure, though this does not fix the root cause.

Affected VersionsENISA

websocket-driver-node < 0.7.5

Affected Packages

npm websocket-driver fix: 0.7.5
euvd websocket_driver_node fix: 0.7.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The websocket-driver package (pkg:npm/websocket-driver) is a Node.js library from the faye ecosystem that implements the WebSocket protocol. The permessage-deflate extension (RFC 7692) is an optional WebSocket compression mechanism negotiated during the handshake that compresses message payloads using DEFLATE. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the library's maximum message size guard evaluates the size field carried in the compressed frame header rather than the byte count of the data after the extension pipeline processes it. Because compression ratios for repetitive or crafted payloads can be extreme (e.g., a zip-bomb-style input), an attacker can craft messages that are small in compressed form but many times larger after decompression, entirely bypassing the application's intended memory and resource constraints. The fix in 0.7.5 relocates the size check to occur after incoming extensions have processed the frame.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/faye/websocket-driver-node) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
vuln.today AI 7.5 HIGH

Network-reachable via WebSocket handshake, no authentication or user interaction needed; availability impact is high due to unbounded memory expansion from decompressed payloads.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (https://github.com/faye/websocket-driver-node).

CVSS VectorVendor: https://github.com/faye/websocket-driver-node

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
Low

Lifecycle Timeline

1
CVSS changed
Jul 17, 2026 - 21:22 NVD
6.3 (MEDIUM)

DescriptionCVE.org

Impact

If this library is used in tandem with the permessage-deflate extension, a WebSocket server or client can be made to accept messages that are larger than the configured maximum message size. This is because this limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage.

Patches

The issue has been patched in version 0.7.5, by checking the length of messages after they are processed by incoming extensions. All users should upgrade to this version.

Workarounds

No known workarounds exist.

Acknowledgements

This issue was discovered and reported by Pranjali Thakur, DepthFirst Security Research Team.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 92,810 npm packages depend on websocket-driver (1,745 direct, 91,075 indirect)

Ecosystem-wide dependent count for version 0.7.5.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Medium
popular Node.js WebSocket library in the faye ecosystem
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy