What’s Vulnerable › Vulnerabilities
CVE-2026-54490: websocket-driver: Resource limit bypass via message compression
- Severity: medium (CVSS 6.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-17 · updated 2026-10-24
- Weakness: CWE-770
Description
websocket-driver is a WebSocket protocol handler with pluggable I/O. Prior to 0.7.5, if this library is used 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 because the limit is checked against the message frames' length headers, which give the size of the compressed data, not the size after decompression in lib/websocket/driver/hybi.js. This can lead to applications accepting larger messages than expected and exceeding their intended resource usage. This issue is fixed in version 0.7.5.
Affected products
- Npm Websocket-Driver: before 0.7.5 — fixed in 0.7.5
- faye websocket-driver-ruby: before 0.7.5
How to fix
Upgrade to a fixed version: Npm Websocket-Driver 0.7.5. Check the vendor advisory for mitigations.
References
- https://github.com/faye/websocket-driver-node/commit/c55679a5b18251dd0a55d18a0cc6a4fd8822b92f
- https://github.com/faye/websocket-driver-node/security/advisories/GHSA-mp7j-qc5w-4988
Get alerted when CVE-2026-54490 or the next vulnerability affects your stack