websocket-driver: Resource limit bypass via message compression (CVE-2026-54490)
The websocket-driver library contains a vulnerability in versions prior to 0.7.5 where resource limits can be bypassed when using the permessage-deflate extension. The maximum message size check is incorrectly applied to compressed frame lengths instead of the decompressed message sizes, allowing messages larger than intended to be accepted. This can lead to applications exceeding their resource usage limits. The issue is fixed in version 0.7.5. No workarounds are currently known.
AI Analysis
Technical Summary
CVE-2026-54490 is a resource limit bypass vulnerability in the websocket-driver library affecting versions before 0.7.5. The flaw arises because the maximum message size validation is performed on compressed frame lengths rather than on the decompressed message sizes when using the permessage-deflate extension. This allows attackers to send messages that decompress to sizes larger than the intended limits, potentially causing excessive resource consumption. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling).
Potential Impact
Applications using vulnerable versions of websocket-driver with the permessage-deflate extension enabled may accept messages larger than their configured resource limits, potentially leading to resource exhaustion or degraded performance. There is no indication of remote code execution or data disclosure from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade websocket-driver to version 0.7.5 or later, where this vulnerability is fixed. No workarounds are known. Applying the official fix is the recommended mitigation.
websocket-driver: Resource limit bypass via message compression (CVE-2026-54490)
Description
The websocket-driver library contains a vulnerability in versions prior to 0.7.5 where resource limits can be bypassed when using the permessage-deflate extension. The maximum message size check is incorrectly applied to compressed frame lengths instead of the decompressed message sizes, allowing messages larger than intended to be accepted. This can lead to applications exceeding their resource usage limits. The issue is fixed in version 0.7.5. No workarounds are currently 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
CVE-2026-54490 is a resource limit bypass vulnerability in the websocket-driver library affecting versions before 0.7.5. The flaw arises because the maximum message size validation is performed on compressed frame lengths rather than on the decompressed message sizes when using the permessage-deflate extension. This allows attackers to send messages that decompress to sizes larger than the intended limits, potentially causing excessive resource consumption. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling).
Potential Impact
Applications using vulnerable versions of websocket-driver with the permessage-deflate extension enabled may accept messages larger than their configured resource limits, potentially leading to resource exhaustion or degraded performance. There is no indication of remote code execution or data disclosure from the provided data. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade websocket-driver to version 0.7.5 or later, where this vulnerability is fixed. No workarounds are known. Applying the official fix is the recommended mitigation.
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/24/2026, 20:59:53 UTC
Last updated: 09/01/2026, 22:52:12 UTC
Views: 129
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.