GHSA-mp7j-qc5w-4988: websocket-driver: Resource limit bypass via message compression
A vulnerability in the websocket-driver library allows bypassing resource limits when using the permessage-deflate extension. The maximum message size check is performed on compressed frame lengths rather than decompressed message sizes, enabling acceptance of messages larger than intended. This can cause applications to exceed their resource usage limits. The issue is fixed in websocket-driver version 0.7.5. No workarounds are known.
AI Analysis
Technical Summary
The websocket-driver library has a vulnerability (CVE-2026-54490) where the maximum message size enforcement is bypassed when the permessage-deflate WebSocket extension is used. The limit is checked against the compressed frame length headers, not the decompressed message size, allowing oversized messages to be accepted. This can lead to resource exhaustion in applications relying on this library. The vulnerability is addressed in version 0.7.5 by validating message length after decompression by incoming extensions.
Potential Impact
Applications using websocket-driver with permessage-deflate enabled may accept messages larger than their configured maximum size, potentially leading to resource exhaustion or denial of service due to excessive memory or processing consumption.
Mitigation Recommendations
Upgrade websocket-driver to version 0.7.5 or later, where the vulnerability is patched by checking message length after decompression. No known workarounds exist.
GHSA-mp7j-qc5w-4988: websocket-driver: Resource limit bypass via message compression
Description
A vulnerability in the websocket-driver library allows bypassing resource limits when using the permessage-deflate extension. The maximum message size check is performed on compressed frame lengths rather than decompressed message sizes, enabling acceptance of messages larger than intended. This can cause applications to exceed their resource usage limits. The issue is fixed in websocket-driver version 0.7.5. No workarounds are known.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The websocket-driver library has a vulnerability (CVE-2026-54490) where the maximum message size enforcement is bypassed when the permessage-deflate WebSocket extension is used. The limit is checked against the compressed frame length headers, not the decompressed message size, allowing oversized messages to be accepted. This can lead to resource exhaustion in applications relying on this library. The vulnerability is addressed in version 0.7.5 by validating message length after decompression by incoming extensions.
Potential Impact
Applications using websocket-driver with permessage-deflate enabled may accept messages larger than their configured maximum size, potentially leading to resource exhaustion or denial of service due to excessive memory or processing consumption.
Mitigation Recommendations
Upgrade websocket-driver to version 0.7.5 or later, where the vulnerability is patched by checking message length after decompression. No known workarounds exist.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mp7j-qc5w-4988
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54490"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a58b40e68715ace43d67c96
Added to database: 07/16/2026, 10:35:58 UTC
Last enriched: 07/16/2026, 10:50:38 UTC
Last updated: 07/16/2026, 15:07:22 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.