Infinite Loop Vulnerability in Bandit by mtrudel
CVE-2026-39806
What is CVE-2026-39806?
A Denial of Service vulnerability exists in mtrudel's Bandit due to an Infinite Loop in the do_read_chunked_data! method. This vulnerability allows unauthenticated attackers to exhaust the worker process pool by sending specially crafted chunked requests containing trailer fields, leading the server to become unresponsive. The issue arises without requiring any special headers or large payloads, making it easily exploitable. Proxy servers like NGINX and HAProxy can exacerbate this issue by forwarding these requests, putting servers at risk without the need for direct malicious client interaction. Affected versions range from Bandit 1.6.1 to 1.11.0, necessitating an immediate upgrade to patch the vulnerability.
Affected Version(s)
bandit 1.6.1 < 1.11.1
bandit e73e379ab59840e8561b5730878f16e29ab06217
