CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.76% in 30 days
higher than 57% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
mtrudelbanditfrom 1.6.1 before 1.11.11.11.1
mtrudelbandit mtrudel/banditnot 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?

EcosystemPackageAffectedFixed inAdvisory
Hexbandit>= 1.6.0, < 1.11.11.11.1GHSA-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?

VendorProductVersionsType
mtrudelbanditfrom 1.6.1 before 1.11.1application

NVD analysis (status Modified), last modified November 20, 2026, 03:17 UTC.

How severe is CVE-2026-39806?

ScoreVersionVectorSource
High 8.7CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NEEF
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

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?

Where are the vendor advisories and references?

Who found and reported it?

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?

Every CVE in bandit

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.