undici WebSocket client vulnerable to denial of service via cumulative fragment bypass
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Jun 17, 2026
- Updated
- Jun 25, 2026
- EPSS
- 0.5% · 40th percentile
- CWE
- CWE-400
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · openjs
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| nodejs | undici | cpe:2.3:a:nodejs:undici |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- nodejs undici8.0.0 and later · before 8.5.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openjs). Independent of NVD's CPE analysis and usually ahead of it.
undici undici
- 8.5.0not affected
- 8.0.0 and later · before 8.5.0affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| npm | undici | from 8.0.0 · before 8.5.0 | 8.5.0 |
| Red Hat:hummingbird:1 | cargo | before 0:1.96.0-1.hum1 | 0:1.96.0-1.hum1 |
| Red Hat:hummingbird:1 | nodejs24 | before 0:24.16.0-1.hum1 | 0:24.16.0-1.hum1 |
| Red Hat:hummingbird:1 | nodejs24-bin | before 0:24.16.0-1.hum1 | 0:24.16.0-1.hum1 |
| Red Hat:hummingbird:1 | nodejs25 | before 0:25.9.0-1.1.hum1 | 0:25.9.0-1.1.hum1 |
| Red Hat:hummingbird:1 | nodejs25-bin | before 0:25.9.0-1.1.hum1 | 0:25.9.0-1.1.hum1 |
| Red Hat:hummingbird:1 | nodejs26 | before 0:26.3.0-1.2.hum1 | 0:26.3.0-1.2.hum1 |
| Red Hat:hummingbird:1 | nodejs26-bin | before 0:26.3.0-1.2.hum1 | 0:26.3.0-1.2.hum1 |
| Red Hat:hummingbird:1 | rust | before 0:1.96.0-1.hum1 | 0:1.96.0-1.hum1 |
| Red Hat:hummingbird:1 | rust-debugger-common | before 0:1.96.0-1.hum1 | 0:1.96.0-1.hum1 |
Same product
nodejs: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-35949`undici.request` vulnerable to SSRF using absolute URL on `pathname`40Plan
- CVE-2026-1525undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')39Monitor
- CVE-2026-84961undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool36Monitor
- CVE-2026-13697undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives36Monitor
- CVE-2026-6734undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse35Monitor
- CVE-2026-84933undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| undici undici | 8.5.0 | Vendor (CNA) |
| npm:undici | 8.5.0 | Package registry (OSV) |
| red hat:cargo | 0:1.96.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs24 | 0:24.16.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs24-bin | 0:24.16.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs25 | 0:25.9.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs25-bin | 0:25.9.0-1.1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs26 | 0:26.3.0-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:nodejs26-bin | 0:26.3.0-1.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:rust | 0:1.96.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:rust-debugger-common | 0:1.96.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- mauriceng98reporter
- Str1ckl4ndfinder
- mcollinaremediation developer
- UlisesGasconremediation reviewer
- lzhou1110finder
- Zyy0530finder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-121510 days apartundici WebSocket client vulnerable to denial of service via fragment count bypass30Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) { return node.children.map(expand);}Fixed
const MAX_DEPTH = 32;function expand(node, depth = 0) { if (depth > MAX_DEPTH) throw new Error("too deep"); return node.children.map((c) => expand(c, depth + 1));}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- cna.openjsf.org/security-advisories.html
- github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq
Vendor advisories and official records. Exploit/PoC links are deliberately left out.