Intel

AIKIDO-2026-140703

bandit is vulnerable to CRLF Injection

CVE-2026-75484Published Oct 13, 2026
October 13, 2026

53

CVE Score

Medium

CRLF Injection

Are you affected? Scan for Free

TL;DR

In bandit, hTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit. 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.

How do I fix this?

Upgrade the bandit library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

1.4.0 - 1.12.4

Fixed in 1.12.5

Background info

bandit is vulnerable to CRLF Injection in versions 1.4.0 - 1.12.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea