Mint HTTP/1 client applies chunked framing when chunked is not the final transfer coding, enabling response smuggling through intermediaries
Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in elixir-mint mint allows a malicious HTTP/1 server to desynchronize an intermediary and the Mint client on a pooled connection, poisoning the responses to subsequent requests that share the connection. message_body/1 in lib/mint/http1.ex selects chunked framing when chunked is the first coding listed in a response's Transfer-Encoding fields. RFC 9112 section 6.3 applies chunked framing only when chunked is the final coding, and otherwise reads the body until the server closes the connection. For a response such as Transfer-Encoding: chunked, gzip, an intermediary that follows the RFC treats every byte up to the close as the body, while Mint ends the body at the zero-length chunk and parses the remaining bytes as the response to the next request on the connection. Mint also keeps the connection open after an HTTP/1.0 response, final or 1xx, that carries Transfer-Encoding and Connection: keep-alive. RFC 9112 section 6.1 requires treating the framing of such a message as faulty and closing the connection after it, so bytes after its chunked body are parsed as the response to the next request in the same way. This issue affects mint: from 0.1.0 before 1.10.2.
CVE-2026-94194
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-94194
mint
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
mint
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"cpes": [
"cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-mint/mint",
"vendor": "elixir-mint",
"modules": [
"'Elixir.Mint.HTTP1'"
],
"product": "mint",
"versions": [
{
"status": "affected",
"version": "0.1.0",
"lessThan": "1.10.2",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/mint",
"packageName": "mint",
"programFiles": [
"lib/mint/http1.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Mint.HTTP1':message_body/1"
},
{
"name": "'Elixir.Mint.HTTP1':stream/2"
},
{
"name": "'Elixir.Mint.HTTP1':recv/3"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-mint/mint",
"vendor": "elixir-mint",
"modules": [
"'Elixir.Mint.HTTP1'"
],
"product": "mint",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "2ec8b696b5475ecbdaa87c0098957bca339e17c0",
"status": "unaffected"
},
{
"at": "8d1bbcfa566a8c1dc23d33f40d550c28250ac7b9",
"status": "unaffected"
}
],
"version": "60089586ec7adc9fddb09f69a2f5919ba9ac7f33",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-mint/mint",
"packageName": "elixir-mint/mint",
"programFiles": [
"lib/mint/http1.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Mint.HTTP1':message_body/1"
},
{
"name": "'Elixir.Mint.HTTP1':stream/2"
},
{
"name": "'Elixir.Mint.HTTP1':recv/3"
}
]
}
]- Related CVEs
- CVE-2026-94194
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #4238 · Revision 1
- Added to Heist Feed
- Publisher date