# CVE-2026-87018: undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.29.1, 7.30.1, 8.12.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-15 · Modified: 2026-10-16
- Aliases: DEBIAN-CVE-2026-87018, UBUNTU-CVE-2026-87018, CGA-ch54-77f2-vjm7, CGA-mvjq-rhvj-9jvm, GHSA-qrxm-fqhp-jwvm, CGA-5hmv-v35x-px4h, CGA-6fxf-hx36-826j, CGA-m2pr-gvg5-97hr, CGA-p37c-rxxf-54mj, CGA-rvx9-w59x-6xrx, CGA-vhq2-qwrp-f2wr, CGA-w398-4w28-j9j7, CGA-xjxg-jg94-m5h8, CGA-3fc6-6gcf-wv39, CGA-gjjm-jcqf-h6fx, CGA-j93f-wgxv-3rj7, CGA-mcf8-hg6j-57w6, CGA-xv96-w877-hjrh, CGA-wj6h-m286-7487, CGA-44qr-5xxw-8469, CGA-4f5m-62c4-4hq8, RHSA-2026:86147, CGA-53m4-hhhm-667c, CGA-jj77-f939-3c36
- Record: https://cvemate.com/vulnerability/CVE-2026-87018 · JSON: https://cvemate.com/vulnerability/CVE-2026-87018/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.239%, percentile 16.065%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.2.4-r6
- chainguard kibana-9.2 (Chainguard): All versions (No fix recorded) \| \< 9.2.8-r30
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded) \| \< 9.3.8-r9
- chainguard node-gyp (Chainguard): \< 13.1.0-r1
- chainguard renovate (Chainguard): All versions (No fix recorded) \| \< 44.198.3-r1
- chainguard saf (Chainguard): All versions (No fix recorded) \| \< 1.8.0-r1
- chainguard supabase-storage-api (Chainguard): \< 1.84.23-r1
- wolfi node-gyp (Wolfi): \< 13.1.0-r1
- wolfi renovate (Wolfi): All versions (No fix recorded) \| \< 44.198.3-r1
- wolfi saf (Wolfi): All versions (No fix recorded) \| \< 1.8.0-r1
- debian node-undici (Debian): All versions (No fix recorded) \| \< 8.12.2+dfsg+~cs3.2.3-1
- ubuntu node-undici (Ubuntu): All versions (No fix recorded)
- nodejs undici: ≥ 4.2.1, \< 6.29.1 \| ≥ 7.0.0, \< 7.30.1 \| ≥ 8.0.0, \< 8.12.2
- Npm undici (Npm): ≥ 4.2.1, \< 6.29.1 \| ≥ 7.0.0, \< 7.30.1 \| ≥ 8.0.0, \< 8.12.2
- redhat nodejs26 (Red Hat): \< 0:26.11.1-0.5.hum1
- redhat nodejs26-bin (Red Hat): \< 0:26.11.1-0.5.hum1
- redhat nodejs26-devel (Red Hat): \< 0:26.11.1-0.5.hum1
- redhat nodejs26-docs (Red Hat): \< 0:26.11.1-0.5.hum1
- redhat nodejs26-full-i18n (Red Hat): \< 0:26.11.1-0.5.hum1
- redhat nodejs26-libs (Red Hat): \< 0:26.11.1-0.5.hum1

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-qrxm-fqhp-jwvm>
- <https://cna.openjsf.org/security-advisories.html>
- <https://security-tracker.debian.org/tracker/CVE-2026-87018>
- <https://ubuntu.com/security/CVE-2026-87018>
- <https://www.cve.org/CVERecord?id=CVE-2026-87018>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-87018>
- <https://github.com/nodejs/undici/commit/12cfd96c3f430897656e3edc1c5e02be8c1cd309>
- <https://github.com/nodejs/undici/commit/b40fbfc0651703cf9fa9f6ced68b679f28d8bb28>
- <https://github.com/nodejs/undici/commit/e257e9f8fb42eedd50727b9cf65e548c8925e4a8>
- <https://github.com/nodejs/undici>
- <https://github.com/nodejs/undici/releases/tag/v6.29.1>
- <https://github.com/nodejs/undici/releases/tag/v7.30.1>
- <https://github.com/nodejs/undici/releases/tag/v8.12.2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87018.json>
- <https://access.redhat.com/errata/RHSA-2026:86147>
- <https://access.redhat.com/security/cve/CVE-2026-87018>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_86147.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2553677>

---

Data as of 2026-12-05T03:52:24.075Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
