
Introduction
The undici security update released on December 4, 2026 fixes 14 vulnerabilities in undici, the HTTP client that also powers the built-in fetch() in Node.js. Eight of the advisories are rated High. They cover TLS certificate validation bypasses, process crashes, memory exhaustion and cross-user cache disclosure.
The fixed releases are undici 8.14.1, 7.30.4 and 6.29.2. If your Node.js application, build tool or SDK depends on undici, update it now. Also check the copy bundled inside Node.js, which you cannot update with npm.
Key Facts: Undici Security Update at a Glance
- What: 14 advisories (CVE-2026-129981 to CVE-2026-144348), published by the undici maintainers on December 4, 2026.
- Severity: 8 High (CVSS 3.1 7.4-7.5), 4 Medium, 2 Low, as scored in the GitHub advisories. NVD status: “Awaiting Analysis”.
- Fixed in: undici 8.14.1 (8.x), 7.30.4 (7.x; 7.30.5 is the latest 7.x release) and 6.29.2 (6.x).
- Most important: CVE-2026-141997 can crash a Node.js process through
request()and the globalfetch()with a single response from a malicious server. - Node.js bundled copy: Node.js 24.23.0 bundles undici 7.30.2 and Node.js 22.23.5 bundles undici 6.29.1. Both are in the affected range of CVE-2026-141997. Node.js has announced security releases for 26.x, 24.x and 22.x on or shortly after December 9, 2026.
- Exploitation: no known exploitation. None of the CVEs is in the CISA KEV catalog as of December 6, 2026.
- Action: upgrade the
undicipackage, including transitive copies, and plan the Node.js update.
Vulnerability Overview: What Does This Undici Security Update Fix?
This undici security update fixes flaws in four areas: TLS checks, crash bugs, the HTTP cache and proxy credentials. Most issues need a specific undici feature, but two High issues affect common code paths.
| CVE | GHSA | Severity | Issue |
|---|---|---|---|
| CVE-2026-141997 | GHSA-h5rf-4xrf-76mc | High 7.5 | Process crash via reachable assertion in the HTTP/1.1 response parser (also via fetch()) |
| CVE-2026-141996 | GHSA-fgj4-8x8v-fqhm | High 7.4 | TLS certificate validated against the wrong host after a cross-origin redirect |
| CVE-2026-139849 | GHSA-5p8q-mfqp-v63m | High 7.4 | EnvHttpProxyAgent silently drops target TLS options |
| CVE-2026-133890 | GHSA-v75p-g438-v7rr | High 7.4 | Cache poisoning via a protocol-relative redirect path |
| CVE-2026-137987 | GHSA-w33r-f3gw-3gch | High 7.5 | CPU exhaustion via unbounded HTTP/2 reconnection |
| CVE-2026-137980 | GHSA-8gc2-q8ww-ghwg | High 7.5 | Memory exhaustion in cache stores via tiny response chunks |
| CVE-2026-139829 | GHSA-mf4q-95qj-5v8f | High 7.5 | Process crash in stream() with HTTP/2 request bodies |
| CVE-2026-138000 | GHSA-4232-7jh5-4qqf | High 7.5 | Process crash in the retry interceptor (8.12.0 and later only) |
| CVE-2026-129981, CVE-2026-139839, CVE-2026-139823 | see References | Medium | Cross-user or cross-host cache disclosure |
| CVE-2026-135194 | GHSA-pj2v-wx4q-45vc | Medium 5.9 | Crash when dump and retry interceptors are combined |
| CVE-2026-132045 | GHSA-gc94-vjfp-fm7x | Low 3.7 | Quadratic header parsing in the cache interceptor |
| CVE-2026-144348 | GHSA-qfv9-2fjm-5p4m | Low 3.7 | Proxy credentials leaked through a shared headers object |
The CVE records were assigned by the OpenJS Foundation as CNA and published on December 5, 2026.
Affected Versions: Which Undici Releases Need the Update?
Every maintained release line is affected by at least one issue.
| Release line | Fixed version | Notes |
|---|---|---|
| undici 8.x | 8.14.1 | Fixes 13 advisories. CVE-2026-141997 affected only 8.3.0 to 8.4.0 and was fixed earlier in 8.4.1. Requires Node.js 22.19.0 or later. |
| undici 7.x | 7.30.4 (latest 7.30.5) | Fixes 13 advisories. 7.x is not affected by CVE-2026-138000. Requires Node.js 20.18.1 or later. |
| undici 6.x | 6.29.2 | Fixes 4 advisories: CVE-2026-141997, CVE-2026-141996, CVE-2026-139849 and CVE-2026-144348. |
| undici 5.x | none | CVE-2026-144348 affects 5.16.0 and later. The advisory lists 6.29.2 as the fix, so plan a move off 5.x. |
Exact ranges differ per CVE. For example, CVE-2026-141997 affects 6.26.0 to 6.29.1 and 7.26.0 to 7.30.3.

Security Impact: How Serious Are These Undici Vulnerabilities?
The biggest risks are crashes and broken TLS trust. An attacker usually needs to control or impersonate a server your application calls.
- Denial of service. CVE-2026-141997 lets a malicious or compromised server crash the client with one response. The error is thrown outside any promise, so
try/catchdoes not help. The advisory states that the globalfetch()is affected. Apps that fetch user-supplied URLs or third-party APIs are most exposed. - TLS bypass. With CVE-2026-141996, a redirect target’s certificate is checked against the first host’s name. With CVE-2026-139849,
EnvHttpProxyAgentcan ignore your private CA, pinning orrejectUnauthorizedsettings, depending on the proxy environment variables. An attacker in a network position could then intercept traffic. The advisory saysfetch()is not affected by CVE-2026-141996. - Cache poisoning and data disclosure. Four issues in the optional cache interceptor (
interceptors.cache()) can make a shared cache serve one user’s or tenant’s response to another. Two more cause memory or CPU exhaustion.
How to Check Whether You Are Affected
Check three places: your direct dependency, transitive copies and the Node.js runtime.
Which undici version does my project use?
List every copy of undici in your dependency tree:
npm ls undici --all
Many SDKs and build tools pull in undici indirectly. Compare every version with the table above.
Which undici version is bundled in Node.js?
The Node.js documentation says the global fetch() is based on undici and that process.versions.undici shows the bundled version:
node -p "process.version + ' undici ' + process.versions.undici"
According to the Node.js source tree, the current releases bundle these versions (as of December 6, 2026):
| Node.js release | Bundled undici | Status |
|---|---|---|
| 26.14.0 | 8.12.4 | Below 8.14.1, but outside the CVE-2026-141997 range |
| 24.23.0 | 7.30.2 | In the CVE-2026-141997 range |
| 22.23.5 | 6.29.1 | In the CVE-2026-141997 range |
Node.js has not said which issues its December 9 releases will fix. Watch the Node.js security blog.
Will npm audit find these issues?
Not yet, as of December 6, 2026. The 14 advisories are published in the undici repository. They are not yet in the GitHub Advisory Database, which npm audit uses. Our check of npm’s advisory endpoint returned no results for undici 7.30.2, 6.29.1 or 8.12.4. Check versions directly with npm ls until the database catches up.
Do I use the risky features?
Search your code for interceptors.cache, interceptors.redirect, interceptors.retry, EnvHttpProxyAgent, ProxyAgent and stream(. Most issues need one of these features or HTTP/2. CVE-2026-141997 needs none of them.
How to Fix the Undici Vulnerabilities
The fix is to upgrade undici to a patched release, then update Node.js when its security releases arrive.
How do I apply the undici security update with npm?
For a direct dependency, install the fixed version for your line:
npm install undici@8.14.1
# or, on the 7.x line:
npm install undici@7.30.5
# or, on the 6.x line:
npm install undici@6.29.2
For transitive copies, update the parent package first. If no fixed parent release exists yet, npm’s overrides field in package.json can force a patched undici version. Test after overriding, because the parent package may expect a specific major version. Then run npm ls undici --all again and commit the lockfile.
What about the copy inside Node.js?
You cannot patch the bundled undici with npm. Plan to install the Node.js 26.x, 24.x or 22.x security release published on or after December 9, 2026. Also update container base images and CI runners.
Are there workarounds?
The advisories list workarounds for some issues. Do not compose the cache interceptor if you do not need it. Pass the same TLS options as both requestTls and connect for EnvHttpProxyAgent. Compose interceptors.dns() inside interceptors.redirect(). For CVE-2026-141997, the advisory says no workaround is available.
Additional Security Recommendations
- Run a process supervisor (systemd, a container orchestrator or PM2) so a crashed Node.js process restarts quickly.
- Restrict outbound requests to allowlisted hosts when you fetch user-supplied URLs. This also reduces SSRF risk.
- Use private caches for per-user data. If you persisted a
SqliteCacheStorebefore upgrading, clear it, as the CVE-2026-139823 advisory recommends. - Follow the undici and Node.js advisories, not only
npm audit, for critical libraries.
FAQ
Is the undici security update urgent?
Yes, for most Node.js services. Eight High issues are fixed, and CVE-2026-141997 can crash a process through fetch(). No exploitation is known as of December 6, 2026.
Does this undici security update affect Node.js fetch()?
Partly. CVE-2026-141997 affects the global fetch(). Node.js 24.23.0 and 22.23.5 bundle undici versions in its affected range. Several other issues, such as CVE-2026-141996, do not affect fetch().
Which undici version should I install?
Install 8.14.1 on the 8.x line, 7.30.4 or later on 7.x, and 6.29.2 on 6.x. Users of undici 5.x should move to 6.29.2 or later.
Are these undici vulnerabilities exploited?
There are no public reports of exploitation, and none of the 14 CVEs is listed in the CISA KEV catalog as of December 6, 2026.
Why does npm audit show nothing?
As of December 6, 2026, the advisories were not yet in the GitHub Advisory Database used by npm audit. Check the installed versions directly.
Conclusion
This undici security update fixes 14 vulnerabilities, including a crash reachable through fetch() and two TLS validation bypasses. Upgrade undici to 8.14.1, 7.30.4 or 6.29.2, including transitive copies, and install the Node.js security releases expected on December 9, 2026.
References
- undici v8.14.1 release notes, v7.30.4 and v6.29.2
- undici security advisories on GitHub
- GHSA-h5rf-4xrf-76mc: CVE-2026-141997 HTTP/1.1 parser crash
- GHSA-fgj4-8x8v-fqhm: CVE-2026-141996 redirect servername
- GHSA-5p8q-mfqp-v63m: CVE-2026-139849 EnvHttpProxyAgent TLS options
- GHSA-g489-q6j6-rh55: CVE-2026-139823 Host header cache poisoning
- CVE-2026-141997 on CVE.org and NVD
- Node.js: December 9, 2026 security releases (pre-announcement)
- Node.js documentation: fetch and process.versions.undici
- npm documentation: npm ls and overrides in package.json
Related Articles
- OpenSSL Security Update: 4.1.1, 4.0.4 and 3.5.10 Fix ECH Bypass and TLS Server DoS
- Laravel Security Update: Fix the JSON Request DoS (GHSA-8h64-cpq2-9h2g)
- OWASP Top 10 (2025) Explained: A Practical Guide to Web Application Security
- Jenkins Security Update: Pipeline Sandbox Bypass and 10 More Plugin Flaws Fixed
- What Is a CVE? CVE Meaning, Vulnerability Databases, Scoring and Triage
Last Verified: December 6, 2026. Prepared by SafeWebAcademy from the undici GitHub security advisories and release notes, the CVE.org and NVD records, the Node.js source tree, documentation and security blog, npm documentation and the CISA KEV catalog linked above. This is not an official undici or Node.js publication. Security details can change, so check the linked advisories for updates.

















