Uvicorn HTTP Response Splitting Vulnerability

Vulnerability

A vulnerability allowing HTTP response splitting has been identified in Uvicorn versions prior to 0.11.7. This issue arises because CRLF sequences are not properly escaped in HTTP header values. As a result, attackers can exploit this flaw to inject arbitrary headers into HTTP responses or even return custom response bodies, whenever crafted input is used to create HTTP headers.

Impact

Exploitation of this vulnerability allows for HTTP response splitting, which can lead to various attacks such as cross-site scripting or injection of malicious headers that could be exploited by the client or intermediary servers.

Reproduction

To reproduce this vulnerability, send a GET request to a Uvicorn server running an application that uses the httptools parser. Include a crafted URL path that contains CRLF sequences. Uvicorn will respond with an additional HTTP header corresponding to the injected header from the request, demonstrating the successful exploitation of the HTTP response splitting vulnerability.

Remediation

Upgrade Uvicorn to version 0.11.7 or higher.

Added: Jun 22, 2026, 12:37 PM
Updated: Jun 22, 2026, 12:37 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.9
exploitability
8.7
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.