CVE-2026-14643
MediumCVSS 5.9Exploitation Probability (EPSS)
Low risk25th percentile - higher than 25% of all known CVEs
Summary
In undici before versions 7.29.0 and 8.9.0, the cache interceptor mishandles optional whitespace around the equals sign in Cache-Control directives. This can cause authenticated user data to be cached and served to other users.
Risk Assessment
The risk is leakage of authenticated user data to unauthorized parties, including unauthenticated users, in shared cache mode.
Recommendation
Update undici to version 7.29.0 or 8.9.0.
Other vulnerabilities in undici
See all- CVE-2026-135194Medium
In undici (HTTP client for Node.js) versions 7.29.1–7.30.3 and 8.10.2–8.14.0, when a dispatcher composes the dump and retry interceptors and the application discards a response body with the dump method, a malicious server announcing a larger content-length than it sends can cause the abort reason to be lost. The default retry function then throws, surfacing as an unhandled error event that exits the Node.js process. A remote, unauthenticated server can trigger denial of service with a single response.
- CVE-2026-133890High
In undici (HTTP client for Node.js) versions 7.30.1–7.30.3 and 8.12.2–8.14.0, the fix for earlier cross-origin redirect cache poisoning issues is incomplete. A path beginning with two slashes is misread as a protocol-relative URL, so a redirect to an attacker-controlled origin can be recorded as a hop to the trusted origin and bypass the every-hop origin check. An attacker controlling a redirect target can have their response cached under the trusted URL and served to later callers from the shared cache.
- CVE-2026-132045Low
In undici (HTTP client for Node.js) versions 7.29.0–7.30.3 and 8.9.0–8.14.0, the RFC 9111 cache interceptor parses Cache-Control and Vary response headers with a regular expression that backtracks quadratically. A malicious origin returning a header value with a long run of internal whitespace forces quadratic CPU time and synchronously blocks the Node.js event loop for about 100–200 ms at the default header limit, and for several seconds when the limit is raised. The default fetch and request paths are not affected because they trim headers with a linear scanner.
- CVE-2026-129981Medium
In undici (HTTP client for Node.js) versions 7.17.0–7.30.3 and 8.0.0–8.14.0, when the cache interceptor uses a shared cache and serves a response within its stale-while-revalidate window, it revalidates the stored response in the background. If that background 304 Not Modified carries an ETag differing from the cached representation, undici reuses the stored body and binds it to the new validator instead of discarding it. A remote origin can thus make the shared cache keep serving a stale representation to later callers.
- CVE-2026-144348Low
undici is an HTTP client for Node.js. In versions 5.16.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0, ProxyAgent adds the proxy credentials (from the auth or token options, or the username and password in the proxy URL) as a proxy-authorization entry directly on the headers object passed in its options instead of on a copy, so every other agent holding that same object sends those credentials to its own proxy. EnvHttpProxyAgent, available since 6.14.0, passes the same headers object to the agents it creates for HTTP_PROXY and HTTPS_PROXY, so when an application sets the headers option and the two variables name different proxies, one proxy receives the credentials meant for the other. The same happens when an application reuses one headers object across several ProxyAgent instances, letting the operator of one proxy capture credentials intended for another. Applications that do not set the headers option are not affected. The issue is fixed in undici 6.29.2, 7.30.4, and 8.14.1.
- CVE-2026-141997High
undici, an HTTP client for Node.js, in versions 6.26.0 through 6.29.1, 7.26.0 through 7.30.3, and 8.3.0 through 8.4.0 contains an assertion failure when a server sends a large response and closes the connection during backpressure. This causes an uncaught AssertionError and terminates the Node.js process via a malicious or compromised server.
- CVE-2026-141996High
undici in versions 6.8.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0 has a flaw in the redirect interceptor: on a cross-origin redirect it keeps the TLS servername of the first request, so the target's certificate is validated against the first host's name. A party with a valid certificate for the first host can impersonate the target and intercept or modify the redirected request and response.
- CVE-2026-139849High
undici in versions 6.14.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0 has a flaw in EnvHttpProxyAgent: target TLS options are applied on only one route (direct or proxied), so ca, checkServerIdentity, servername, client certificate, and rejectUnauthorized settings are silently dropped. This can let an attacker with a publicly trusted certificate intercept connections the application expected to pin.
- CVE-2026-139839Medium
undici, an HTTP client for Node.js, in versions 7.17.0 through 7.30.3 and 8.0.0 through 8.14.0 has an issue in the shared cache interceptor: when a stale entry is served within its stale-while-revalidate window and revalidated in the background, a 304 Not Modified response that adds a Vary field the stored response did not have is not treated as a change of representation. undici re-stores the old, unvaried body under the background caller's value of that header and marks it fresh, so later callers with that header value are served a body generated for a different request, possibly for another user or tenant, without the origin being contacted.
- CVE-2026-139829High
undici in versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0 has a flaw when using the stream API with a Node.js Readable request body over HTTP/2: a server that starts a response and destroys the HTTP/2 session during upload causes the error path to be invoked twice, leading to an uncaught TypeError and Node.js process exit. The attacker only needs to control the HTTP/2 server's behavior.
Original NVD description (English source)
undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field name with literal quote characters, so the cache decision fails to recognize the qualification and the response is stored. In shared-cache mode, this lets a response containing one user's authenticated data be served from cache to a later caller, including an unauthenticated one, when both requests resolve to the same cache key. It affects applications that enable the cache interceptor in shared mode, forward Authorization headers upstream, and receive cacheable responses with qualified directives padded with whitespace around the equals sign. This is the whitespace-around-equals variant that the fix for CVE-2026-9678 did not normalize, and it is fixed in undici 7.29.0 and 8.9.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

