CVE-2026-134342: Request smuggling through malformed chunked request trailers
actix-http 3.18.10 before 3.20.2 contains an HTTP request smuggling vulnerability in its chunked decoder, which treats a bare LF after the last chunk as the start of a trailer section. Attackers can send a body ending in 0\r\n\n through a connection-reusing proxy so the next request's body is parsed as new requests, bypassing WAF or upstream protections.
Other sources
The HTTP/1 chunked decoder accepts a bare line feed after the final chunk as the start of a trailer instead of rejecting the malformed request.
When an upstream proxy reuses a connection and either pipelines the requests or does not take steps to validate the chunked stream, the decoder can consume the next request's headers as trailer data. It can then parse that request's body as a new request. An attacker can use this difference in request parsing to bypass access controls enforced by a proxy or web application firewall.
Upgrade to actix-http 3.20.2 or later.
— OSV
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/actix-httpto a version that resolves this vulnerability.Fixed in 3.20.2 - Upgrade
Upgrade
debian/rust-actix-httpto a version that resolves this vulnerability.Fixed in 3.21.0-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.20.2
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using actix-http versions 3.18.10 before 3.20.2 are affected when they sit behind a connection-reusing upstream proxy. Exposure depends on the proxy reusing backend connections and either pipelining requests or not validating the chunked request stream.
What does an attacker need to exploit it?
An unauthenticated network attacker can send a malformed chunked HTTP/1 request ending in "0\r\n\n" through the proxy. The attack relies on the proxy and actix-http interpreting that malformed final-chunk sequence differently.
What is the practical impact?
The parser discrepancy can cause the next request's headers to be consumed as trailers and its body to be parsed as a new request. This can let an attacker bypass access controls enforced by an upstream proxy or web application firewall.
What should be done if patching is not immediately possible?
Ensure upstream proxies reject malformed chunked request streams and avoid connection reuse or request pipelining to affected actix-http backends where possible. Upgrade to actix-http 3.20.2 or later as the permanent fix.