CVE-2026-75484
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. Bandit 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. This issue affects bandit: from 1.4.0 before 1.12.5.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.9
- CVSS 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
- EPSS probability
- 0.55%
- CWE
- CWE-93
- Published
- 2026-08-20
- Last modified
- 2026-08-21
Affected products
- mtrudel bandit
- mtrudel bandit
Weakness type
Related vulnerabilities
- CVE-2026-48019 — CRLF injection in Laravel's default email rule enables SMTP smuggling and spoofed-mail relay
- CVE-2026-75925 — IXON VPN Client CRLF Injection
- CVE-2026-84962 — Authenticated KMS request forgery via CRLF injection in GCP key identifier strings
- CVE-2026-84379 — HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
- CVE-2026-84372 — Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections
- CVE-2026-82854 — Nodemailer before 8.0.3 SMTP Command Injection via envelope.size
- CVE-2026-82853 — Nodemailer before 8.0.5 SMTP Command Injection via CRLF
- CVE-2026-82661 — Nodemailer CRLF Injection via List-* Header Comments