CVE-2026-140392
JSON

6.3medium

actix-http before 3.21.3 HTTP Request Smuggling via Quoted Chunk Extension

Severity
6.3medium CVSS:4.0 by VulnCheck
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0553GHSA-9543-cj4x-h76q

Description

actix-http before 3.21.3 contains an HTTP/1.1 request smuggling vulnerability that allows unauthenticated remote attackers to prematurely terminate chunked bodies by embedding CRLF inside quoted chunk-extension values. Attackers can smuggle a pipelined request past the read_extension parser in chunked.rs to bypass routing or poison responses and caches behind connection-reusing reverse proxies.

Affected

Product or packageVersionsReported by
actix actix-httpbefore 3.21.3
Not affected: 3.21.3
CVE List
actix-http (crates.io)from 0.0.0-0 before 3.21.3RustSec Advisory Database

All scores

VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
RustSec Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Classification

What each source says

CVE List

actix-http before 3.21.3 contains an HTTP/1.1 request smuggling vulnerability that allows unauthenticated remote attackers to prematurely terminate chunked bodies by embedding CRLF inside quoted chunk-extension values. Attackers can smuggle a pipelined request past the read_extension parser in chunked.rs to bypass routing or poison responses and caches behind connection-reusing reverse proxies.

RustSec Advisory Database

Affected versions of actix-http do not track quoted strings when parsing HTTP/1.1 chunk extensions. A carriage return inside a quoted extension value is treated as the end of the chunk-size line, even if the closing quote is missing. For example, 0;x="\r\n\r\n is accepted as the end of a chunked body, and a following pipelined request is dispatched on the same connection.

A remote client can trigger this without authentication. CR and LF are invalid inside HTTP quoted strings, including after a backslash; they must be rejected rather than interpreted as framing or accepted as quoted data.

Request smuggling requires an upstream intermediary that forwards the malformed input while using a different request boundary. Dispatching two requests on the sender's own connection does not by itself demonstrate an authorization bypass or an effect on another user. Proxy bypass, cache poisoning, and cross-user response mixing were not demonstrated by the reproduction.

Upgrade to actix-http 3.21.3 or later. The fix preserves quote and escape state across reads and rejects invalid control bytes inside quoted strings and quoted pairs before consuming the following body or request bytes.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140392 changed 2026-12-01CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0553 changed 2026-12-01CC0-1.0
NVDCVE-2026-140392 changed 2026-12-01Public domain