CVE-2026-139823
Awaiting Analysis Awaiting Analysis - Queue

Cache Poisoning in Undici HTTP Client

Vulnerability report for CVE-2026-139823, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
undici undici From 7.0.0 (inc) to 7.30.3 (inc)
undici undici From 8.0.0 (inc) to 8.14.0 (inc)
undici undici 7.30.4
undici undici 8.14.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-524 The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.
CWE-346 The product does not properly verify that the source of data or communication is valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici HTTP client for Node.js. It occurs in versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0. The cache interceptor incorrectly stores responses by the request's origin, method, and path, while the Host header may point to a different host. This allows cached responses for one host to be served to requests for another host, potentially exposing sensitive data.

Detection Guidance

Detecting this vulnerability requires checking if your Node.js application using undici is affected. Verify the undici version in use (7.0.0-7.30.3 or 8.0.0-8.14.0). Inspect code for usage of the cache interceptor and explicit Host header manipulation. Check server responses for Vary headers on Host to confirm unaffected cases.

Impact Analysis

If you use the affected undici versions with the cache interceptor and send requests with a Host header pointing to a different host than the request origin, responses for one host could be disclosed to callers of another host. Attackers could manipulate the Host header to control cached responses for other requests.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating confidentiality requirements in GDPR and HIPAA. If sensitive data is cached and served to unintended recipients, it may result in compliance breaches and legal consequences.

Mitigation Strategies

Upgrade undici to version 7.30.4 or 8.14.1 or later. Clear any persistent cache stores populated before upgrading. Avoid using the cache interceptor on dispatchers that send explicit Host headers for different hosts. Use separate dispatchers and cache stores per host if necessary.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-139823. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...