# CVE-2026-75484: HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T21:11:27.523Z
- Modified: 2026-11-25T06:30:08.913Z
- Also known as: EEF-CVE-2026-75484, GHSA-x3gh-xhj4-3vq8
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- bandit: from 1.4.0 before 1.12.5
- mtrudel/bandit: from fff06efe3be962b484bd4d3eb339372fda5a231f before d38cf046c9a3cae4d0f88001c2ceb4143f86366b
- bandit (Hex): from 1.4.0 before 1.12.5
- https://github.com/mtrudel/bandit: from fff06efe3be962b484bd4d3eb339372fda5a231f before d38cf046c9a3cae4d0f88001c2ceb4143f86366b

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/mtrudel/bandit/security/advisories/GHSA-x3gh-xhj4-3vq8> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-75484.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-75484> (related)
- <https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f> (related, web)
- <https://github.com/mtrudel/bandit/commit/d38cf046c9a3cae4d0f88001c2ceb4143f86366b> (fix, patch)
- <https://hex.pm/packages/bandit> (package)

## Sources

- CVE List: [CVE-2026-75484](https://www.cve.org/CVERecord?id=CVE-2026-75484), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-75484](https://osv.dev/vulnerability/EEF-CVE-2026-75484), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-75484](https://nvd.nist.gov/vuln/detail/CVE-2026-75484), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-75484 · Whole record: https://cve.day/CVE-2026-75484.json · Rebuilt by cve.day 2026-11-25T22:59:34.708Z
