CVE-2026-139823
undici vulnerable to cache poisoning and cross-host disclosure via a mismatched Host header
Description
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.
INFO
Published Date :
Dec. 5, 2026, 10:17 a.m.
Last Modified :
Dec. 5, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
ce714d77-add3-4f53-aff5-83d477b104bb
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | ce714d77-add3-4f53-aff5-83d477b104bb |
Solution
- Upgrade undici to 7.30.4 or 8.14.1 or later.
- Clear persistent cache stores populated before upgrade.
- Use host-specific dispatchers and cache stores.
- Configure server to send Vary header on Host.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139823.
| URL | Resource |
|---|---|
| https://cna.openjsf.org/security-advisories.html | |
| https://github.com/nodejs/undici/security/advisories/GHSA-g489-q6j6-rh55 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139823 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139823
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139823 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139823 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by ce714d77-add3-4f53-aff5-83d477b104bb
Dec. 05, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N Added CWE CWE-346 Added CWE CWE-524 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139823.json">CVE-2026-139823</a> Added Reference https://cna.openjsf.org/security-advisories.html Added Reference https://github.com/nodejs/undici/security/advisories/GHSA-g489-q6j6-rh55