undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm
HIGHFix: nodejs/undici@12cfd96GHSA-qrxm-fqhp-jwvm is a high-severity (CVSS 7.5) CWE-248 vulnerability in undici. A fix is available for undici — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-qrxm-fqhp-jwvm.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
undicinpmDescription
Impact
undici crashes the client process 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 ERR_TLS_CERT_ALTNAME_INVALID. undici's established socket error handler asserted that this error code could never occur, so the peer-controlled error became an uncaught AssertionError that terminates the Node.js process. Both the HTTP/1.1 and HTTP/2 paths are affected.
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. Only TLS 1.2 is affected, because TLS 1.3 does not support renegotiation. Exploitation does not require a CA compromise: the attacker controls the endpoint and can present two ordinary valid certificates, the first matching the requested URL and the second intentionally not matching it.
Patches
Upgrade to undici 6.29.1, 7.30.1, or 8.12.2.
Workarounds
Restrict outbound connections to TLS 1.3, for example by setting connect: { minVersion: 'TLSv1.3', maxVersion: 'TLSv1.3' } on the client or agent, so that renegotiation cannot occur, when the target endpoints support TLS 1.3.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | undici | ≥ 4.2.1&&< 6.29.1 | 6.29.1npm install undici@6.29.1 |
| 📦npm | undici | ≥ 7.0.0&&< 7.30.1 | 7.30.1npm install undici@7.30.1 |
| 📦npm | undici | ≥ 8.0.0&&< 8.12.2 | 8.12.2npm install undici@8.12.2 |
Affected Products
undicinodejsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for undici, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update undici to 6.29.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qrxm-fqhp-jwvm is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is evaluated as an Important severity flaw for Red Hat products because an unauthenticated remote server can terminate a client Node.js process, halting all concurrent tasks and in-flight operations. In typical Red Hat deployments, containerized microservices and administrative consoles rely on…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | nodejs24-1:24.22.1-3.el10_2 | RHSA-2026:96088 |
| Red Hat Enterprise Linux 10 | nodejs22-1:22.23.4-1.el10_2 | RHSA-2026:96094 |
| Red Hat Enterprise Linux 10 | nodejs26-1:26.12.1-3.el10_3 | RHSA-2026:98619 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | nodejs22-1:22.23.4-2.el10_0 | RHSA-2026:102180 |
| Red Hat Enterprise Linux 8 | nodejs:24-8100020261105143413.6d880403 | RHSA-2026:98102 |
| Red Hat Enterprise Linux 8 | nodejs:22-8100020261104150431.6d880403 | RHSA-2026:98113 |
| Red Hat Enterprise Linux 9 | nodejs:24-9080020261105135730.rhel9 | RHSA-2026:96226 |
| Red Hat Enterprise Linux 9 | nodejs:22-9080020261103125134.rhel9 | RHSA-2026:96234 |
Frequently Asked Questions
Is GHSA-qrxm-fqhp-jwvm in your dependencies?
Find it across npm, including transitive dependencies.