CL.CL HTTP request smuggling via duplicate Content-Length in bandit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. 'Elixir.Bandit.Headers':get_content_length/1 in lib/bandit/headers.ex uses List.keyfind/3, which returns only the first matching header. When a request contains two Content-Length headers with different values, Bandit silently accepts it, uses the first value to read the body, and dispatches the remaining bytes as a second pipelined request on the same keep-alive connection. RFC 9112 §6.3 requires recipients to treat this as an unrecoverable framing error. When Bandit sits behind a proxy that picks the last Content-Length value and forwards the request rather than rejecting it, an unauthenticated attacker can smuggle requests past edge WAF rules, path-based ACLs, rate limiting, and audit logging. This issue affects bandit: before 1.11.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mtrudel | bandit | 0.1.0 to before 1.11.0 | 1.11.0 | Patch available | CNA |
| — | bandit (Hex) | before 1.11.0 | 1.11.0 | Patch available | GHSA-c67r-gc9j-2qf7 |
- bandit Vendormtrudel Affected 0.1.0 to before 1.11.0 Fixed in 1.11.0 Patch available CNA
- bandit (Hex) Vendor— Affected before 1.11.0 Fixed in 1.11.0 Patch available GHSA-c67r-gc9j-2qf7
Remediation
- Fix · CNA bandit (mtrudel) Fixed in 1.11.0
- Fix · GHSA-c67r-gc9j-2qf7 bandit (Hex) Fixed in 1.11.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
mtrudel bandit 1.11.0
5 records Highest priority Priority HIGH 5 HIGH
Other records, highest priority first
- TI-2026-31007 WebSocket fragmented message reassembly unbounded in banditPriority HIGH 77
- TI-2026-28687 WebSocket permessage-deflate inflate has no output-size cap in banditPriority HIGH 75
- TI-2026-31008 HTTP/2 frame size limit checked after body is buffered in banditPriority HIGH 70
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39805
- 2026-10-03 Alias added: GHSA-c67r-gc9j-2qf7
- 2026-10-31 EPSS moved to the 50th–90th percentile
References
Advisory 2
More mtrudel vulnerabilities
- TI-2026-81989 HTTP/2 request bodies made of 1-byte DATA frames amplify memory use in Bandit CVSS 4.0HIGH 8.7
- TI-2026-74311 Bandit HTTP/2 send timers reset, letting trickles pin stream processes CVSS 4.0HIGH 8.7
- TI-2026-52571 HTTP/2 connection-window starvation pins Plug processes indefinitely in Bandit CVSS 4.0HIGH 8.7
- TI-2026-46780 Quadratic CPU blow-up reassembling fragmented WebSocket messages in Bandit CVSS 4.0HIGH 8.7
- TI-2026-31007 WebSocket fragmented message reassembly unbounded in bandit CVSS 4.0HIGH 8.7
- TI-2026-28689 HTTP/1 chunked decoder infinite loop on requests with trailer fields in bandit CVSS 4.0HIGH 8.7
Sources
- CVE-2026-39805 · CVE Program
- CVE-2026-39805 · NVD
- FIRST EPSS
- GHSA-c67r-gc9j-2qf7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-39805 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences