CVE-2026-12151: undici WebSocket client vulnerable to denial of service via fragment count bypass
Affects undiciSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 6.27.0 soon.
Data as of 4 Nov 2026, 04:16 UTC
- Patch
- Available – fixed in 6.27.0, 7.28.0, 8.5.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade undici to 6.27.0; undici to 7.28.0; undici to 8.5.0.
Patches and advisories
- access.redhat.com/errata/RHSA-2026:34342 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56431 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57013 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60520 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62260 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65126 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66488 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66545 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:35841 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:35842 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:35891 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:35892 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmundici | Affected
| Fixed in
|
| npmundici | Affected
| Fixed in
|
| npmundici | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade undici to version 6.27.0, 7.28.0, or 8.5.0 or later. No workaround is available; applying the official fix through an upgrade is required to mitigate this vulnerability.
Description
The undici WebSocket client is vulnerable to a denial of service caused by unbounded memory growth. This occurs because the client enforces a maximum cumulative payload size but does not limit the number of fragments in a WebSocket message. An attacker-controlled server can send many small or empty continuation frames, causing memory exhaustion in the client process. All undici versions starting from 6.17.0 up to but not including 6.27.0, versions from 7.0.0 up to but not including 7.28.0, and versions from 8.0.0 up to but not including 8.5.0 are affected. The issue is fixed in versions 6.27.0, 7.28.0, and 8.5.0. No workaround is available other than upgrading.
References
- github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-12151 (opens in a new tab)
- github.com/nodejs/undici/commit/32dbf0b3dd93daf6d87badf506d52e89f2e20e78 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34342 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:56431 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:57013 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60520 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62260 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:65126 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66488 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66545 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-12151 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2489980 (opens in a new tab)
- cna.openjsf.org/security-advisories.html (opens in a new tab)
- github.com/nodejs/undici (opens in a new tab)
- github.com/nodejs/undici/releases/tag/v6.27.0 (opens in a new tab)
- github.com/nodejs/undici/releases/tag/v7.28.0 (opens in a new tab)
- github.com/nodejs/undici/releases/tag/v8.5.0 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12151.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:35841 (opens in a new tab)