CVE-2026-39805 json
CL.CL HTTP request smuggling via duplicate Content-Length in bandit
published 2026-05-01 6 mo ago modified 2026-10-26 13 d ago also EEF-CVE-2026-39805 , EUVD-2026-26712 , GHSA-c67r-gc9j-2qf7
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-39805 updated cvss 7.4
bandit: Bandit: HTTP Request Smuggling via Duplicate Content-Length Headers
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | bandit | <1.11.0 >=0.1.0, <1.11.0 |
1.11.0 |
Affected products
- mtrudel bandit
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1
patch, web
-
github.com
/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7
vendor-advisory, related, exploit, web, advisory
-
cna.erlef.org
/cves/CVE-2026-39805.html
related, web
-
osv.dev
/vulnerability/EEF-CVE-2026-39805
related, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-39805
advisory
-
github.com
/mtrudel/bandit
package
-
hex.pm
/packages/bandit
package
Sources
- CVE List CVE-2026-39805
- GitHub Advisory GHSA-c67r-gc9j-2qf7
- NVD CVE-2026-39805
- OSV EEF-CVE-2026-39805
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.