{"id":"CVE-2026-114216","published":"2026-10-26T13:30:41Z","modified":"2026-11-19T08:08:35Z","title":"Chunk extensions accept bare LF and CR, enabling request smuggling in Bandit","vendor":"mtrudel","product":"bandit","tier":"tail","description":{"text":"Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in the HTTP/1.1 chunked body reader of mtrudel bandit allows an unauthenticated remote attacker to smuggle a second request past a front-end proxy via a chunk extension that contains a bare LF.\n\nThe chunked reader in lib/bandit/http1/socket.ex takes the chunk-size line to be everything up to the first CRLF and discards everything after ; without checking it against the RFC 9112 chunk-ext grammar, so bare LF, bare CR and other control bytes pass. A proxy that ends the size line at a bare LF reads 2;\\nxx\\r\\n40\\r\\n... as one request whose second chunk holds a GET /admin, while Bandit ends the body early and dispatches GET /admin as a separate pipelined request. Deployments without such a proxy in front of Bandit are not affected.\n\nThis issue affects bandit: from 1.12.4 before 1.14.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00602,"percentile":0.49772,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-w5wc-g2hc-g7m2","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-114216.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-114216","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/c31e9e3c76dcbfc239a96eabed5341ced7885ae5","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a","tags":["patch"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"mtrudel","affectedVersions":[{"vendor":"mtrudel","product":"bandit","versions":[">= 1.12.4, < 1.14.0"]},{"vendor":"mtrudel","product":"bandit","versions":[">= c31e9e3c76dcbfc239a96eabed5341ced7885ae5, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a"]}],"workarounds":{"items":["Where the front-end proxy can reach Bandit over HTTP/2, disable HTTP/1 with http_1_options: [enabled: false], so that the chunked body reader never runs."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-33","name":"Behind a front-end proxy that treats a bare LF as a line ending and forwards chunked bodies unchanged, an unauthenticated attacker can have Bandit run requests the proxy never saw, getting past the proxy's access controls."}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-26T15:03:20.382433Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-109820","exploited":false,"provenance":"source"}}