CVE-2026-75484
published medium CVSS 4.0 · 6.9HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mtrudel | — | bandit1.4.0 to < 1.12.5 · Other versions: unaffected | Affected | Not stated | EEF |
| mtrudel | — | mtrudel/banditbandit · fff06efe3be962b484bd4d3eb339372fda5a231f to < d38cf046c9a3cae4d0f88001c2ceb4143f86366b · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mtrudel | bandit | 1.4.0 to < 1.12.5 (affected · semver)Default: unaffected | EEF · cna |
| mtrudel | bandit | fff06efe3be962b484bd4d3eb339372fda5a231f to < d38cf046c9a3cae4d0f88001c2ceb4143f86366b (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-93 CWE-93 Improper Neutralization of CRLF Sequences
References
5- EEF CNA record for CVE-2026-75484 https://cna.erlef.org/cves/CVE-2026-75484.html
- Fix commit d38cf04 in mtrudel/bandit https://github.com/mtrudel/bandit/commit/d38cf046c9a3cae4d0f88001c2ceb4143f86366b
- Introducing commit fff06ef in mtrudel/bandit https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f
- https://github.com/mtrudel/bandit/security/advisories/GHSA-x3gh-xhj4-3vq8
- OSV record EEF-CVE-2026-75484 https://osv.dev/vulnerability/EEF-CVE-2026-75484
Provider assertions
2EEF · cna
HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 67770a050236222354e0025f3e1dfdd3552e4049e1d170034551bdd939017769
- Ingested
- 19 Nov 2026, 08:49:09 UTC
- Source record
- Official CVE record