CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-87018

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation

undici is an HTTP client library for Node.js. In versions 4.2.1 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, the client process crashes when a TLS 1.2 server renegotiates after the connection is established and presents a different, CA-trusted certificate whose hostname does not match the requested host. Node.js re-runs hostname verification on the renegotiated handshake and destroys the socket with a certificate-altname error, but undici's established-socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught assertion that terminates the Node.js process, affecting both the HTTP/1.1 and HTTP/2 paths. A malicious or compromised HTTPS endpoint reached through undici or the global fetch() can crash the client with a single server-initiated renegotiation, taking down all in-flight requests and background work in the process, and exploitation needs no CA compromise because the attacker controls the endpoint and can present two ordinary valid certificates. Only TLS 1.2 is affected, since TLS 1.3 does not support renegotiation. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, and users should upgrade to one of those versions or later. As a workaround, restrict outbound connections to TLS 1.3 so renegotiation cannot occur, when the target endpoints support it.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.187% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by openjs
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:59:20.339Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:59:20.339ZCVE Program
epssverified2026-11-19T16:04:55.800ZFIRST EPSS
patchesverified2026-11-19T12:52:31.685ZOSV
affectedverified2026-11-19T12:59:20.339ZCVE Program
lifecycleverified2026-11-19T12:59:20.339ZCVE Program

Affected versions and configuration

undici undici; default status: unaffected: 4.2.1 to < 6.29.1 [affected; scheme: semver]; 6.29.1 [unaffected; scheme: semver]; 7.0.0 to < 7.30.1 [affected; scheme: semver]; 7.30.1 [unaffected; scheme: semver]; 8.0.0 to < 8.12.2 [affected; scheme: semver]; 8.12.2 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "undici",
      "product": "undici",
      "versions": [
        {
          "status": "affected",
          "version": "4.2.1",
          "lessThan": "6.29.1",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "6.29.1",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "7.0.0",
          "lessThan": "7.30.1",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "7.30.1",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "8.0.0",
          "lessThan": "8.12.2",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "8.12.2",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/undici",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-87018",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-16T20:01:12.990357Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-16T20:01:29.402Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-qrxm-fqhp-jwvm",
  "aliases": [
    "CVE-2026-87018"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "4.2.1"
            },
            {
              "fixed": "6.29.1"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-qrxm-fqhp-jwvm/GHSA-qrxm-fqhp-jwvm.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.30.1"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-qrxm-fqhp-jwvm/GHSA-qrxm-fqhp-jwvm.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "8.0.0"
            },
            {
              "fixed": "8.12.2"
            }
          ]
        }
      ],
      "package": {
        "name": "undici",
        "purl": "pkg:npm/undici",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-qrxm-fqhp-jwvm/GHSA-qrxm-fqhp-jwvm.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/nodejs/undici/security/advisories/GHSA-qrxm-fqhp-jwvm",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87018",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/nodejs/undici/commit/12cfd96c3f430897656e3edc1c5e02be8c1cd309",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici/commit/b40fbfc0651703cf9fa9f6ced68b679f28d8bb28",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici/commit/e257e9f8fb42eedd50727b9cf65e548c8925e4a8",
      "type": "WEB"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/nodejs/undici/releases/tag/v6.29.1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici/releases/tag/v7.30.1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/nodejs/undici/releases/tag/v8.12.2",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-248",
      "CWE-617"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-10-15T19:17:46Z",
    "github_reviewed_at": "2026-10-27T19:02:21Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packageundiciNot a distribution channel6.29.1Official record
ecosystem-boundarynpm / packageundiciNot a distribution channel7.30.1Official record
ecosystem-boundarynpm / packageundiciNot a distribution channel8.12.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history