CVE-2026-75484
MEDIUM 6.9CVSS 4.0HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit
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.
- Published
- 20 Aug 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Awaiting Analysis
- Weakness
- CWE-93
- Also known as
- EEF-CVE-2026-75484GHSA-x3gh-xhj4-3vq8
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-75484JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/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 |
| CVE List | EEF | CVSS 4.0 | MEDIUM 6.9 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | banditcpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.12.5 | 1.12.5 |
| CVE List | https://github.com | mtrudel/banditcpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:* |
>= fff06efe3be962b484bd4d3eb339372fda5a231f, < d38cf046c9a3cae4d0f88001c2ceb4143f86366b | d38cf046c9a3cae4d0f88001c2ceb4143f86366b |
| OSV | Hex | bandit | >= 1.4.0, < 1.12.5 | 1.12.5 |
References
- https://cna.erlef.org/cves/CVE-2026-75484.html · related, WEB
- https://github.com/mtrudel/bandit/commit/d38cf046c9a3cae4d0f88001c2ceb4143f86366b · patch, FIX
- https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f · related, WEB
- https://github.com/mtrudel/bandit/security/advisories/GHSA-x3gh-xhj4-3vq8 · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-75484 · related
- https://hex.pm/packages/bandit · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:11 UTC · CVE List: first stored (published 20 Aug 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 20 Aug 2026)