{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-39805","id":"CVE-2026-39805","title":"CL.CL HTTP request smuggling via duplicate Content-Length in bandit","description":"Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers.\n\n'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 ","descriptionLong":"Inconsistent Interpretation of HTTP Requests vulnerability in mtrudel bandit allows HTTP request smuggling via duplicate Content-Length headers.\n\n'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.\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: before 1.11.0.","published":"2026-05-01T20:34:29.400Z","updated":"2026-10-28T02:30:56.815172584Z","reserved":"2026-04-07T12:28:54.916Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"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","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mtrudel bandit"],"affectedProducts":[{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"1.11.0","status":"affected","version":"0.1.0","versionType":"semver"}],"platforms":[]},{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"f2ca636eb6df385219957e8934e9fc6efa1630d1","status":"affected","version":"7bc8d97cd22697c299baa8012b7f419a7606a80c","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"bandit","purl":"pkg:hex/bandit","ranges":["<1.11.0"],"fixed":["1.11.0"],"advisory":"GHSA-c67r-gc9j-2qf7"}],"cwes":["CWE-444"],"aliases":["EEF-CVE-2026-39805","GHSA-c67r-gc9j-2qf7"],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-c67r-gc9j-2qf7","tags":["vendor-advisory","related","exploit","advisory","web"]},{"url":"https://cna.erlef.org/cves/CVE-2026-39805.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-39805","tags":["related","web"]},{"url":"https://github.com/mtrudel/bandit/commit/f2ca636eb6df385219957e8934e9fc6efa1630d1","tags":["patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39805.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39805","tags":["advisory"]},{"url":"https://github.com/mtrudel/bandit","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00626,"epssPercentile":0.50833,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-39805","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39805","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-39805","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c67r-gc9j-2qf7","ok":true,"note":"GHSA-c67r-gc9j-2qf7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-39805","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}