{"vuln_id":"CVE-2026-39805","aliases":["GHSA-c67r-gc9j-2qf7"],"description":"Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers.\n\nBandit.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.\n\nWhen 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.\n\nThis issue affects bandit: from 0.1.0 before 1.11.0.","published_at":"2026-05-01T21:16:17.037000Z","modified_at":"2026-11-20T05:18:55.050000Z","first_seen_at":"2026-11-21T19:15:46.190564Z","severity":"medium","severity_source":"nvd","cvss_score":6.3,"cvss_vector":"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","cwe":["CWE-444"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00626,"epss_percentile":0.50974,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-39805"},"matched_alias":null,"items":[{"id":3108,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-39805: Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers. Bandit.Headers…","summary":"Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers.\n\nBandit.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.\n\nWhen 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.\n\nThis issue affects bandit: from 0.1.0 before 1.11.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-39805.html\nhttps://github.com/mtrudel/bandit/commit/7bc8d97cd22697c299baa8012b7f419a7606a80c\nhttps://github.com/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7\nhttps://osv.dev/vulnerability/EEF-CVE-2026-39805\nhttps://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39805","published_at":"2026-05-01T21:16:17.037000Z","updated_at":"2026-11-20T05:18:55.050000Z","fetched_at":"2026-11-21T19:15:31.478717Z","severity":"medium","cvss_score":6.3,"epss":0.00626,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-39805","vuln_ids":["CVE-2026-39805","GHSA-C67R-GC9J-2QF7"],"tags":["CWE-444"],"cluster_id":3124,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3108","html":"https://vulnwatch.ve1ve2.com/item/3108"}}]}