CVE-2026-116592 · Package
NO FIX YET · SEE WHAT TO DO
undici, the HTTP client bundled with Node.js, can store a redirected response under the wrong cache key when an originless Agent combines the redirect and shared cache interceptors. An attacker who controls a redirect target can poison the cache for a trusted URL or get a private per-user response served to another caller.
first public Nov 5, 2026 · 1 source
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Applications that use undici's Agent with the redirect and shared cache interceptors composed together, without per-origin dispatchers or cache stores, are exposed. Code that only makes plain requests or uses the cache without redirect-following is likely not affected. The sources do not say whether Node.js bundled versions are affected.
Not affected if default-config, no-shared-cache, per-origin-dispatchers
Who cares caching, http-client, node.js, undici
npm ls undici in the project.undici in package-lock.json, pnpm-lock.yaml or yarn.lock and check the resolved version.7.30.2undici is an HTTP client for Node.js. In versions 7.30.1 and 8.12.2 through 8.12.3, when an originless Agent composes the redirect and shared cache interceptors, undici decides whether to store the final response under the original request key by inspecting only the final redirect hop, which bypasses the earlier fix for CVE-2026-109829 that compared only the initial and final origins. A redirect that bounces through an untrusted origin and returns to the trusted origin is still cached under the trusted key, an intermediate hop's Vary is dropped so a response that varies on Authorization or Cookie can be served to a different user, and an intermediate hop's no-cache or default-uncacheable status is ignored so a non-storable redirect is laundered into a cacheable entry. An attacker who controls a redirect target from a trusted URL can poison the cached entry for that URL or have a private, per-user response served to a later caller. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, compose the interceptors as cache then redirect, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.
This page as ·
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
8.12.4NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.