Inconsistent interpretation of HTTP requests in undici - CVE-2026-18540
Published: September 6, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause downstream response splitting or desynchronization.
The vulnerability exists due to inconsistent interpretation of HTTP response framing in the retry interceptor when resuming a partial response from an attacker-controlled upstream. A remote attacker can cause resumed response bytes to be appended to a partially delivered response body while its original status and headers are retained to cause downstream response splitting or desynchronization.
Exploitation requires interceptors.retry() to be enabled and a downstream forwarder that does not recalculate Content-Length.