Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-mp7j-qc5w-4988: websocket-driver: Resource limit bypass via message compression

0
Medium
Published: 07/15/2026 (07/15/2026, 22:08:17 UTC)
Source: GCVE Database
Product: websocket-driver

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
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

Affected software

npmghsa
websocket-driver
Affected versions
<0.7.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:50:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses