SecurityContext

CVE-2026-12151: undici WebSocket client - Denial of Service

  • Cve: CVE-2026-12151
  • Name: undici WebSocket client - Denial of Service
  • Description: Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively 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(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. All releases starting at undici 6.17.0 are affected. Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.
  • Impact: Malicious servers can cause unbounded memory growth in clients, leading to denial of service via memory exhaustion.
  • Remediation: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00789
  • Epss percentile: 0.57167
  • Assignee: ce714d77-add3-4f53-aff5-83d477b104bb
  • Published at: 2026-06-17T17:16:42Z
  • Age in days: 160
  • Modified at: 2026-09-11T13:17:05Z
  • Patch available: yes
  • References total: 31
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-12151
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption
CWE-770Allocation of Resources Without Limits or Throttling

References

Same in every row:

  • Source: nvd
UrlTags
https://cna.openjsf.org/security-advisories.htmlVendor Advisory
https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89qVendor Advisory
https://access.redhat.com/errata/RHSA-2026:34342
https://access.redhat.com/errata/RHSA-2026:35841
https://access.redhat.com/errata/RHSA-2026:35842
https://access.redhat.com/errata/RHSA-2026:35891
https://access.redhat.com/errata/RHSA-2026:35892
https://access.redhat.com/errata/RHSA-2026:36621
https://access.redhat.com/errata/RHSA-2026:36754
https://access.redhat.com/errata/RHSA-2026:36820

Products

ProductAffectedPlatform boundSourcesUrl
nodejs:undici>= 8.0.0, < 8.5.0; >= 7.0.0, < 7.28.0; >= 6.17.0, < 6.27.0nonvd/v1/products/nodejs/undici

Projects

RepositoryLink kindsIndexedUrl
nodejs/undicicommit, fix, package, releases, security_advisoryyes/v1/repositories/nodejs/undici

Index

  • Repositories: 1035
  • Repositories high signal: 704
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts