Skip to main content
No exploitation reportedFix available

CVE-2026-12151

No exploitation reported by the sources we read.

  • Published2026-06-17
  • Fixed in8.5.0 · 7.28.0 · 6.27.0
  • WeaknessCWE-400 · CWE-770

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-06-1717:16CVE publishedNVD

Versions per branch

NVD · OSV
Nodejs undici
BranchAffectedFixed in
8.x≥ 8.0.0, < 8.5.08.5.0
7.x≥ 7.0.0, < 7.28.07.28.0
6.x≥ 6.17.0, < 6.27.06.27.0
6.27< 6.27.06.27.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As openjs, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • undiciother versions: not affected
    Affected
    • < 6.26.0fixed in 6.26.0semver
    • ≥ 7.0.0, < 7.28.0fixed in 7.28.0semver
    • ≥ 8.0.0, < 8.5.0fixed in 8.5.0semver

    Not affected = 6.26.0 · = 7.28.0 · = 8.5.0

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-06-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/undiciRoot:npmall versions · fixed in 7.24.6-root.io.4
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.4-root.io.2
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.4-root.io.3
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.4-root.io.4
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.4-root.io.5
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.4-root.io.6
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.5-root.io.1
  • @rootio/undiciRoot:npmall versions · fixed in 5.28.5-root.io.2

315 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-12151 Red Hat Product Security722 products fixed · 7 known affected

    undici: undici: Denial of Service due to unbounded memory growth via WebSocket frames

    openshift-pipelines/pipelines-console-plugin-pf5-rhel9 as a component of OpenShift Pipelines · openshift-pipelines/pipelines-console-plugin-rhel8 as a component of OpenShift Pipelines · openshift-pipelines/pipelines-console-plugin-rhel9 as a component of OpenShift Pipelines · +4 more

  • RHSA-2026:87410 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: RHOAI 2.25.12 - Red Hat OpenShift AI

  • RHSA-2026:84734 Red Hat Product Security28 products fixed

    Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI

  • RHSA-2026:73987 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHOAI 3.3.7 - Red Hat OpenShift AI

  • RHSA-2026:66545 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Broker 7.13.6 release and security update

  • RHSA-2026:66488 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Broker 7.14.1 release and security update

24 more advisories

Full record on NVD

Fix

  1. Update Nodejs undici to 8.5.0 · 7.28.0 · 6.27.0
  2. Vendor fix Red Hat Product Security RHSA-2026:87410 · 8 productsFor Red Hat OpenShift AI 2.25.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:84734 · 28 productsFor Red Hat OpenShift AI 3.4.5 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  4. Vendor fix Red Hat Product Security RHSA-2026:73987 · 4 productsFor Red Hat OpenShift AI 3.3.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  5. Vendor fix Red Hat Product Security RHSA-2026:66545 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings. The References section of this erratum contains a download link (you must log in to download the update).
  6. Vendor fix Red Hat Product Security RHSA-2026:65126 · 4 productsFor Red Hat OpenShift AI 2.25.11 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  7. Vendor fix Red Hat Product Security RHSA-2026:62260 · 12 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-06-17
Last Modified
2026-09-11
NVD status
Modified
GitHub Advisory
GHSA-vxpw-j846-p89q

Frequently asked questions

What is CVE-2026-12151?

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.

Is CVE-2026-12151 actively exploited?

Active exploitation of CVE-2026-12151 has not been confirmed. Its EPSS score was 0.8% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-12151?

CVE-2026-12151 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running undici? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record