Infinite loop Affecting bandit package, versions >=1.6.1 <1.11.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.06% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-HEX-BANDIT-16680210
  • published14 May 2026
  • disclosed13 May 2026
  • creditPeter Ullrich

Introduced: 13 May 2026

NewCVE-2026-39806  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade bandit to version 1.11.1 or higher.

Overview

bandit is a HTTP server for Plug and WebSock apps.

Affected versions of this package are vulnerable to Infinite loop in the do_read_chunked_data! function. An attacker can cause the server to enter an infinite loop and exhaust worker processes by sending HTTP/1 chunked requests with trailer fields, leading to denial of service. This can be achieved by maintaining multiple concurrent connections with RFC-conformant chunked requests containing trailer fields, which prevents the worker process from terminating and renders the server unresponsive to further traffic.

CVSS Base Scores

version 4.0
version 3.1