Most web applications process incoming traffic through multiple layers, including CDNs, load balancers, and reverse proxies, before requests reach the application server. HTTP Request Smuggling occurs when these components interpret request boundaries differently, allowing an attacker to manipulate how subsequent requests are processed. In environments where front-end servers reuse upstream connections, this discrepancy can potentially affect requests belonging to other users.
This article examines how request desynchronization occurs in HTTP/1.1, why it remains relevant in modern web architectures, and how penetration testers identify and safely validate these vulnerabilities. It also explores the configuration and request-handling measures that help security teams address the underlying weaknesses and prioritize remediation.
1. How HTTP/1.1 Loses Track of Request Boundaries
HTTP/1.1 allows multiple requests to be sent sequentially over the same TCP connection, without a separate delimiter marking the end of each request. Servers determine where a request body ends using the Content-Length header or chunked Transfer-Encoding. RFC 9112 prohibits senders from including both headers in the same message. If a recipient receives both, Transfer-Encoding takes precedence, and the message should be treated as an error. The recipient may reject the request or process it using Transfer-Encoding alone, but it must close the connection after responding. An intermediary forwarding such a message must remove the Content-Length header before forwarding it.
HTTP desynchronization occurs when two components in the request-processing chain interpret these framing rules differently. For example, a front-end server may use Content-Length to determine the request body size, while the back-end relies on chunked Transfer-Encoding. As a result, the front-end and back-end disagree about where the request ends, causing leftover bytes to be interpreted as the beginning of another request. On a reused connection, this can interfere with the processing of subsequent requests.
2. Why Patched Stacks Still Desynchronize
PortSwigger's 2025 desync research highlights how front-end servers that accept HTTP/2 from clients but downgrade requests to HTTP/1.1 when forwarding them upstream introduce another layer of request-framing complexity. The research also documents 0.CL and Expect-based desynchronization vulnerabilities in major CDN infrastructure. While WAF rules can block many conventional request-smuggling probes, they do not necessarily address the underlying parsing inconsistencies. As a result, a clean response to a classic CL.TE probe does not necessarily mean the application is free from desynchronization vulnerabilities.
Research by Tom Stacey and Tobia Righi, published in August 2026, introduces another avenue through request header injection. In configurations where Nginx's proxy_pass directive incorporates the $uri variable, encoded CRLF sequences in the request path can be decoded and incorporated into the upstream request. This can allow an attacker to inject additional headers, such as Transfer-Encoding, or manipulate the structure of the forwarded request, potentially causing the back-end to interpret injected content as a separate request.
3. What a Desync Lets an Attacker Reach
The potential impact of HTTP desynchronization depends on how the back-end server processes the smuggled request data and how the application handles subsequent requests. Depending on the environment, this can lead to bypassing front-end access controls, web cache poisoning, capturing other users' requests and session cookies, or response queue poisoning, where one user receives a response intended for another. However, these outcomes are not automatic. Their feasibility depends on factors such as connection reuse, request timing, and the way front-end and back-end components handle the affected traffic. Each potential impact must therefore be validated within the specific environment.
4. Confirming a Desync During a Penetration Test
Testing begins by mapping the request path across the CDN, WAF, load balancer, and application server, while identifying any points where HTTP/2 traffic is downgraded to HTTP/1.1. Penetration testers then use carefully crafted requests with variations in header formatting and request framing to identify differences in how each component interprets incoming traffic.
A suspected desynchronization should be validated using controlled, paired requests over test-controlled connections, avoiding unnecessary interference with legitimate user traffic. Manual web application penetration testing helps assess the potential impact, identify the underlying cause, recommend appropriate remediation, and verify that the issue has been resolved through retesting. The classic CL.TE and TE.CL test cases also provide a useful starting point for identifying request-framing inconsistencies.
5. Configuration Changes That Reduce Desync Risk
Using HTTP/2 between the front-end and origin server can reduce request-smuggling risk by providing explicit message boundaries through HTTP/2 frames. However, this protection depends on maintaining HTTP/2 throughout the connection. If the front-end downgrades requests to HTTP/1.1 before forwarding them upstream, request-framing inconsistencies can still arise. Where upstream HTTP/1.1 remains necessary, both front-end and back-end systems should apply strict request normalization and validation.
Configurations should reject requests containing conflicting framing headers or invalid framing information, as well as unexpected request bodies on GET, HEAD, and OPTIONS methods. Connections should be closed after request-framing errors to prevent potentially ambiguous data from being processed as subsequent requests. Disabling upstream connection reuse can also reduce the risk of desynchronized requests affecting other users, although this may introduce additional performance overhead. For Nginx deployments, avoid using variables such as $uri and $document_uri in proxy_pass and return directives where they could introduce untrusted, decoded request data into forwarded requests or responses.

Request smuggling can arise when individual components in a web architecture interpret request boundaries differently, even when each appears to be correctly configured. Assessing the entire request path helps identify these inconsistencies and determine whether requests are handled consistently from the front-end to the application server.
If you want to understand your organization's exposure to these vulnerabilities, scan your environment, explore Laburity, or book a consultation to discuss your security testing requirements.