Home › CVE › JavaScript
CVE-2026-139823 — undici
One of 14 undici vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the cache interceptor looks up and stores responses by the request's origin, method, and path, while undici sends an explicit Host request header to the server as given. When an application sends requests for several hosts to one origin by setting the Host header, a cacheable response for one host is stored under the shared origin key and served to a later request for a different host without that request reaching the server. This can disclose one host's response to callers of another, and lets a caller who controls the Host header of one request choose the response that other requests to the same origin and path receive. Applications are affected only when they use the cache interceptor and send requests whose Host header names a different authority than the request origin, and responses that include a Vary header on Host are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later and clear persistent cache stores populated before upgrading. As a workaround, do not use the cache interceptor on dispatchers that send an explicit Host header for a different host, use a separate dispatcher and cache store per host, or have the server send a Vary header on Host.
Severity breakdown
Medium · 4.8
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| undici | ≥ 7.0.0, < 7.30.4 | 7.30.4 |
| ≥ 8.0.0, < 8.14.1 | 8.14.1 |
References by type
Vendor advisories
Other references
Affected
- undici
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-139823?
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, the cache interceptor looks up and stores responses by the request's origin, method, and path, while undici sends an explicit Host request header to the server as given. Weakness type: Origin Validation Error (CWE-346).
How severe is CVE-2026-139823?
CVE-2026-139823 has a CVSS 3.1 base score of 4.8 (medium), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-139823 being exploited?
Not as far as is known: CVE-2026-139823 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.
Which versions are affected by CVE-2026-139823?
undici ≥ 7.0.0, < 7.30.4 (fixed in 7.30.4); undici ≥ 8.0.0, < 8.14.1 (fixed in 8.14.1).
How do I fix CVE-2026-139823?
Update to a fixed release: undici 7.30.4; undici 8.14.1.