CVE-2026-9675: undici WebSocket client vulnerable to denial of service via cumulative fragment bypass

Published Jun 17, 2026
·
Updated

Impact

The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages. A malicious WebSocket server can stream many small fragments that each pass per-frame validation but collectively exceed the configured limit, causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.

Affected applications are those using the undici WebSocket client (new WebSocket(...)) that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.

This is a regression specific to undici 8.1.0. The 6.25.0 line shipped the equivalent cumulative check from the start and is unaffected. The 7.x line never had the maxPayloadSize feature and is also unaffected.

Patches

Upgrade to undici >= 8.5.0.

Workarounds

No workaround is available. The fix must be applied through an upgrade.

Other sources

Impact: The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages. A malicious WebSocket server can stream many small fragments that each pass per-frame validation but collectively exceed the configured limit, causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service.

Affected applications are those using the undici WebSocket client (new WebSocket(...)) that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint.

This is a regression specific to undici 8.1.0. The 6.25.0 line shipped the equivalent cumulative check from the start and is unaffected. The 7.x line never had the maxPayloadSize feature and is also unaffected.

Patches: Upgrade to undici >= 8.5.0.

Workarounds: No workaround is available. The fix must be applied through an upgrade.

MITRE

undici WebSocket client vulnerable to denial of service via cumulative fragment bypass

Microsoft

Affected Software

4 affected componentsFixes available
npm/undici>=8.1.0<8.5.0
npm/undici>=8.0.0<8.5.0
8.5.0
Nodejs Undici Node.js>=8.0.0<8.5.0
Microsoft azl3 nodejs 24.14.1-3<24.17.0-1
24.17.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 8.5.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.17.0-1
  3. Upgrade

    Upgrade undici WebSocket client (undici) to a version that resolves this vulnerability.

    Fixed in 8.5.0

Event History

Jun 17, 2026
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
Affected Software
Jun 18, 2026
Advisory Published
via GitHub·02:28 PM
Data Sourced
via GitHub·02:28 PM
DescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity
Apr 28, 58520
Event
via FIRST·08:44 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9675?

CVE-2026-9675 has a severity rating of high with a CVSS score of 7.5.

2

How does CVE-2026-9675 affect the undici WebSocket client?

CVE-2026-9675 allows a malicious WebSocket server to exploit the client by streaming small fragments that can collectively exceed the configured maxPayloadSize limit.

3

What is the impact of CVE-2026-9675 on system availability?

Due to CVE-2026-9675, a denial of service can occur as the cumulative fragment size bypasses limits, overwhelming the application.

4

How can I mitigate CVE-2026-9675?

To mitigate CVE-2026-9675, ensure that application server settings or configurations enforce cumulative size restrictions on WebSocket messages.

5

Which software is affected by CVE-2026-9675?

The vulnerability CVE-2026-9675 specifically affects the npm undici WebSocket client.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203