{"id":"CVE-2026-75484","aliases":["CVE-2026-75484","EEF-CVE-2026-75484","GHSA-x3gh-xhj4-3vq8"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nImproper 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.","format":"markdown","source":"eef"},{"lang":"es","text":"La vulnerabilidad de Neutralización Incorrecta de Secuencias CRLF ('Inyección CRLF') en mtrudel bandit permite a un atacante remoto no autenticado introducir caracteres CR, LF o NUL en los encabezados de solicitud visibles para la aplicación a través de HTTP/2. Bandit.HTTP2.Stream.read_headers/1 valida la ubicación y unicidad de los pseudo-encabezados, el uso de mayúsculas/minúsculas en los nombres de los encabezados, los encabezados específicos de la conexión, el valor te y la longitud del contenido, pero nunca verifica los valores de los campos. Debido a que HPACK transporta octetos arbitrarios, un bloque HEADERS cuyos valores de campo contienen \\r, \\n o \\0 se decodifica sin error y los valores llegan a conn.req_headers sin cambios. La ruta HTTP/1 ya rechaza los mismos octetos; HTTP/2 no lo hacía.\n\nBandit en sí mismo no es un sumidero para los bytes inyectados: su propio registro utiliza cadenas fijas o inspect, y los encabezados de respuesta HTTP/2 están codificados en HPACK y son rechazados por separado por put_resp_header de Plug, por lo que la división de respuesta no es alcanzable a través de esta ruta. El riesgo reside enteramente en cómo una aplicación descendente consume los valores de los encabezados, como adjuntar uno textualmente a un registro de texto plano o concatenarlo en una solicitud ascendente. Una brecha relacionada incluida en la misma corrección: solo se verificaba :method, :scheme y :path para una ocurrencia como máximo; se aceptaba un pseudo-encabezado :authority duplicado, con la primera instancia ganando silenciosamente como conn.host mientras que un valor en conflicto permanecía visible para la aplicación.\n\nEste problema afecta a bandit: desde 1.4.0 antes de 1.12.5.","source":"nvd"}],"published":"2026-08-20T21:11:27.523Z","modified":"2026-11-25T06:30:08.913Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-93"],"affected":[{"ranges":[{"type":"semver","introduced":"1.4.0","fixed":"1.12.5","status":"affected"}],"vendor":"mtrudel","product":"bandit","package":"bandit","cpe":"cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*","repo":"https://github.com/mtrudel/bandit","source":"cvelist"},{"ranges":[{"type":"git","introduced":"fff06efe3be962b484bd4d3eb339372fda5a231f","fixed":"d38cf046c9a3cae4d0f88001c2ceb4143f86366b","status":"affected"}],"vendor":"mtrudel","product":"bandit","package":"mtrudel/bandit","cpe":"cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*","repo":"https://github.com/mtrudel/bandit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.12.5"}],"ecosystem":"Hex","package":"bandit","purl":"pkg:hex/bandit","source":"eef"},{"ranges":[{"type":"git","introduced":"fff06efe3be962b484bd4d3eb339372fda5a231f","status":"affected","fixed":"d38cf046c9a3cae4d0f88001c2ceb4143f86366b"}],"repo":"https://github.com/mtrudel/bandit","source":"eef"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-x3gh-xhj4-3vq8","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-75484.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-75484","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/mtrudel/bandit/commit/d38cf046c9a3cae4d0f88001c2ceb4143f86366b","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/bandit","tags":["package"],"sources":["eef"]}],"credits":["Jonatan Männchen / EEF","Mat Trudel"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-08-21T19:52:23.602Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-75484","url":"https://www.cve.org/CVERecord?id=CVE-2026-75484","licence":"CVE Terms of Use","modified":"2026-11-19T08:43:29.104Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-75484","url":"https://osv.dev/vulnerability/EEF-CVE-2026-75484","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:08.913Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-75484","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75484","licence":"Public domain","modified":"2026-11-19T09:17:56.120Z"}],"updatedAt":"2026-11-25T22:59:34.708Z","epss":{"score":0.00709,"percentile":0.547,"date":"2026-12-01T12:00:22.000Z"}}