Home / mtrudel / bandit / CVE-2026-39806
CVE-2026-39806: is it exploited, and which versions of mtrudel bandit are affected and fixed?
CVE-2026-39806 is an infinite loop (denial of service) vulnerability in mtrudel bandit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: bandit from 1.6.0 before 1.11.1 (GitHub advisory GHSA-rf5q-vwxw-gmrf). Fixed in 1.11.1 (GitHub advisory GHSA-rf5q-vwxw-gmrf). Severity: High (8.7, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 20, 2026, 02:58 UTC and NVD November 20, 2026, 04:04 UTC.
What is CVE-2026-39806?
HTTP/1 chunked decoder infinite loop on requests with trailer fields in bandit
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in mtrudel bandit allows unauthenticated remote denial of service via worker process exhaustion. Bandit.HTTP1.Socket.do_read_chunked_data!/5 in lib/bandit/http1/socket.ex terminates only when the last-chunk line 0\r\n is followed immediately by the empty trailer line \r\n. RFC 9112 §7.1.2 permits zero or more trailer fields between them. When trailers are present, none of the match clauses fit: the catch-all arm computes a negative to_read, calls read_available!/2, receives <<>> on timeout, and tail-recurses with unchanged state. The worker process is pinned for the lifetime of the TCP connection. A handful of concurrent connections sending RFC-conformant chunked requests with trailer fields is sufficient to exhaust the Bandit worker pool and render the server unresponsive to all further traffic. No authentication, special headers, or large payload is required. Proxies such as NGINX and HAProxy legitimately forward trailer-bearing requests, so servers behind such proxies may be affected without any malicious client involvement. This issue affects bandit: from 1.6.1 before 1.11.1.
From the CVE record by EEF, last updated November 20, 2026, 02:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mtrudel | bandit | from 1.6.1 before 1.11.1 | 1.11.1 |
| mtrudel | bandit mtrudel/bandit | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Hex | bandit | >= 1.6.0, < 1.11.1 | 1.11.1 | GHSA-rf5q-vwxw-gmrf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: Bandit: Unauthenticated DoS via chunked request trailers in Bandit HTTP/1 decoder.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mtrudel | bandit | from 1.6.1 before 1.11.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 03:17 UTC.
How severe is CVE-2026-39806?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-39806 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 13, 2026)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- Unauthenticated DoS via chunked request trailers in Bandit HTTP/1 decoder vendor-advisory, related
- EEF CNA record for CVE-2026-39806 related
- OSV record EEF-CVE-2026-39806 related
- Introducing commit e73e379 in mtrudel/bandit related
- Fix commit ae3520d in mtrudel/bandit patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Mat Trudel (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 7, 2026
- Published
- May 13, 2026, 13:36 UTC
- CVE record updated
- November 20, 2026, 02:51 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 03:17 UTC
- Last checked
- CVE list November 20, 2026, 02:58 UTC; NVD November 20, 2026, 04:04 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect bandit?
- Oct 28, 2026CVE-2026-116078 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-108529 mtrudel bandit: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-110499 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-109584 mtrudel bandit: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 26, 2026CVE-2026-111103 mtrudel bandit: improper Cleanup on Thrown Exception
- Oct 26, 2026CVE-2026-111101 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-113436 mtrudel bandit: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-110314 mtrudel bandit: client-Side Enforcement of Server-Side Security
Questions about CVE-2026-39806
Is CVE-2026-39806 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mtrudel bandit are affected by CVE-2026-39806?
bandit from 1.6.0 before 1.11.1, per the GitHub advisory GHSA-rf5q-vwxw-gmrf. The tables above give every range the sources list.
Which version fixes CVE-2026-39806?
1.11.1, per the GitHub advisory GHSA-rf5q-vwxw-gmrf. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-39806?
High (8.7, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-39806?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.