This vulnerability in undici 8.10.0 through 8.10.1 represents a cache key erosion that breaks origin isolation—the mechanism that keeps responses from different origins separate. The regression: composing interceptors (cache, deduplicate) directly onto Client or Pool instances stopped including the origin in cache key generation. When your application caches JWT validation responses, this means an attacker can inject a forged token from any origin, and if it matches the cached response's method, path, and headers, it gets accepted. The trusted issuer origin is never consulted.
The fix is straightforward—migrate from Client/Pool to Agent for any code that composes cache or deduplicate interceptors. Agent preserves origin context through dispatch options, restoring the isolation boundary. But the patch is the easy part. The harder problem is identification.
First, audit your dependency tree. Undici ships as Node.js's default HTTP client, meaning this vulnerability reaches you transitively—any npm package that bumped undici to 8.10.x and shipped a minor version bump distributed this downstream. Check your lockfiles for undici versions in the vulnerable range, then trace which of your direct dependencies pulled them in. Second, and critically: your existing test suite likely won't catch this. Functional tests verify that JWT validation works—they don't verify that it rejects tokens from untrusted origins. The vulnerability is invisible to behavior-driven testing because the behavior hasn't changed; the security boundary has. You need to specifically test that responses are origin-gated: cache the same path/method/headers combination from two different origins and confirm they produce separate cache entries.
The blast radius extends beyond your codebase. Any internal tool, Lambda function, or microservice that updated undici between March and the advisory date may have silently introduced this into production. The 'update and ship' pattern that worked safely on 8.9.x became a vulnerability delivery mechanism on 8.10.x, with no code changes required on your end. Prioritize auditing any service that handles authentication tokens and performed routine dependency updates during that window.