CVE-2026-75484: Bandit HTTP/2 Header Injection Vulnerability

bandit Updated 21 Aug 2026

Summary

20/08/2026
Yes i
Medium
6.9

CVE-2026-75484: HTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit. Affects bandit across 2 version ranges.

>= 1.4.0, < 1.12.5 >= fff06efe3be962b484bd4d3eb339372fda5a231f, < d38cf046c9a3cae4d0f88001c2ceb4143f86366b

Fixed in 1.12.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Bandit is an open-source application designed for handling HTTP/2 requests efficiently. It is built to manage various aspects of HTTP/2 communication, including header management and connection handling. However, it has a vulnerability that allows unvalidated CR, LF, or NUL characters in header field values, which can lead to potential security risks in downstream applications.

Vulnerability Detail

The vulnerability arises from improper neutralization of CRLF sequences, allowing an unauthenticated remote attacker to inject CR, LF, or NUL characters into application-visible request headers via HTTP/2. The Bandit package validates certain header attributes but fails to check the field values, which can lead to security issues when these values are consumed by downstream applications. The risk is particularly significant when header values are logged or concatenated into upstream requests, potentially leading to log injection or request smuggling attacks. This vulnerability affects Bandit versions from 1.4.0 to 1.12.5.

How To Fix

Minimum fixed version

1.12.5

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation on the application side to sanitize header values before they are processed. This can help mitigate the risk of CRLF injection until the package is updated. For example, you can filter out any CR, LF, or NUL characters from header values before logging or processing them.

Conclusion

CVE-2026-75484 presents a significant security risk in the Bandit package due to improper validation of HTTP/2 header field values. It is crucial for developers to update to the patched version and implement necessary workarounds to safeguard their applications against potential attacks.

See every vulnerability recorded for bandit →

Share this vulnerability

FAQ

CVE-2026-75484 is a vulnerability in the Bandit package that allows for CRLF injection in HTTP/2 header field values.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities in real-time.

CRLF characters are carriage return (CR) and line feed (LF) characters that are used to signify the end of a line in text files. In HTTP headers, they can be exploited to inject malicious content.

If immediate updates are not possible, implement input validation to sanitize header values and prevent CRLF characters from being processed.

The CVSS score of this vulnerability is 6.9, indicating a medium level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for bandit.

How To Fix

Minimum fixed version

1.12.5

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback