{"id":"CVE-2026-75484","published":"2026-08-20T21:11:27Z","modified":"2026-11-19T08:43:29Z","title":"HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit","vendor":"mtrudel","product":"bandit","tier":"tail","description":{"text":"Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in mtrudel bandit allows an unauthenticated remote attacker to smuggle CR, LF, or NUL characters into application-visible request headers via HTTP/2. Bandit.HTTP2.Stream.read_headers/1 validates pseudo-header placement and uniqueness, header-name casing, connection-specific headers, the te value, and content-length, but never checks field values. Because HPACK carries arbitrary octets, a HEADERS block whose field values contain \\r, \\n, or \\0 decodes without error and the values land in conn.req_headers unchanged. The HTTP/1 path already rejects the same octets; HTTP/2 did not.\n\nBandit itself is not a sink for the injected bytes: its own logging uses fixed strings or inspect, and HTTP/2 response headers are HPACK-encoded and separately rejected by Plug's put_resp_header, so response splitting is not reachable through this path. The risk is entirely in how a downstream application consumes header values, such as appending one verbatim to a plain-text log or concatenating it into an upstream request. A related gap bundled in the same fix: only :method, :scheme, and :path were checked for at most one occurrence; a duplicate :authority pseudo-header was accepted, with the first instance silently winning as conn.host while a conflicting value remained visible to the application.\n\nThis issue affects bandit: from 1.4.0 before 1.12.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00709,"percentile":0.54387,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-x3gh-xhj4-3vq8","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-75484.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-75484","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/d38cf046c9a3cae4d0f88001c2ceb4143f86366b","tags":["patch"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.88},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"mtrudel","affectedVersions":[{"vendor":"mtrudel","product":"bandit","versions":[">= 1.4.0, < 1.12.5"]},{"vendor":"mtrudel","product":"bandit","versions":[">= fff06efe3be962b484bd4d3eb339372fda5a231f, < d38cf046c9a3cae4d0f88001c2ceb4143f86366b"]}],"capec":[{"id":"CAPEC-81","name":"Web Server Logs Tampering"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-21T19:52:23.602062Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63661","exploited":false,"provenance":"source"}}