High
undici cache poisoning via two-slash redirect path (CVE-2026-133890)
An attacker can poison undici's HTTP cache: a redirect path starting with two slashes is misread as a same-origin hop, so a response from an attacker-controlled origin gets cached under the trusted origin's key. Later requests to that trusted origin can then serve attacker-controlled content from the cache.
7.30.48.14.1Am I affected?
You are affected if the installed version is older than the fixed version of its release line: 7.30.4, 8.14.1. Check the version you have and update to the fixed version of your line or later. The fixed versions are verified against a vendor or advisory source.
Affected software and versions
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
undici | other | >=8.12.2, <8.14.1 | 8.14.1 |
undici | other | >=7.30.1, <7.30.4 | 7.30.4 |
A fixed version is shown only when it is verified against a vendor or advisory source.
Who should check
Anyone running Node.js code that uses undici, on macOS, Windows or Linux, with versions 7.30.1 up to but not including 7.30.4, or 8.12.2 up to but not including 8.14.1.
Expected outcome after remediation
The agent reports the undici versions it found, whether any fall in the affected ranges, and confirms the update to 7.30.4 or 8.14.1 is done.
Get the fix
FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5897 and your operating system.
Related undici incidents
- undici HTTP client crash on closed connection under backpressureHigh8.4.1
- undici validates redirect target's certificate against the wrong hostHigh8.14.1
- undici drops app-configured TLS options on some request routesHigh8.14.1
- undici HTTP/2 stream bug: uncaught error crashes the Node.js processHigh8.14.1
- undici retry bug crashes Node.js apps on resumed responsesHigh8.14.1
- undici HTTP client can get stuck in an infinite reconnect replay loopHigh8.14.1