BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-39806 in Mtrudel Bandit

High 7.5

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 th...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
CVSS v48.7
EPSS0.9%
EPSS percentile59th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Mtrudel Bandit ≥ 1.6.1, < 1.11.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-39806
BreachSpider IDBS-2026-GLOBAL-073247-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2026-05-13
Last modified2026-11-20
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-835: CWE-835

Analysis AI-written, not human-reviewed

A Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in mtrudel bandit allows unauthenticated remote denial of service via worker process exhaustion.

The vulnerability exists in the 'Elixir.Bandit.HTTP1.Socket':do_read_chunked_data!/5 function in lib/bandit/http1/socket.ex. The loop terminates only when the last-chunk line 0\r\n is followed immediately by the empty trailer line \r\n. However, according to RFC 9112 §7.1.2, zero or more trailer fields are permitted, which can lead to an infinite loop if the trailer line is not immediately present.

Questions

What is CVE-2026-39806?

A Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in mtrudel bandit allows unauthenticated remote denial of service via worker process exhaustion.

What is the CVSS score for CVE-2026-39806?

CVE-2026-39806 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.

Is CVE-2026-39806 actively exploited?

No confirmed active exploitation of CVE-2026-39806 as of 2026-11-21.

How do I remediate CVE-2026-39806?

Priority: HIGH. PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

What systems are affected by CVE-2026-39806?

CVE-2026-39806 affects Mtrudel Bandit.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Mtrudel","product":"Bandit","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-20.