Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen TCP connection to Bandit server
-
DeliverySend chunked request ending with trailer field
-
ExploitDecoder falls into non-progressing catch-all arm
-
ExecutionWorker recurses forever, pinned for connection lifetime
-
PersistRepeat across few concurrent connections
-
ImpactWorker pool exhausted, server unresponsive
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of Bandit 1.6.1-1.11.0; the only requirement is the ability to send an HTTP/1.1 request with Transfer-Encoding: chunked whose body includes at least one trailer field after the '0' last-chunk line (RFC 9112 §7.1.2-legal), or a malformed chunk whose declared size mismatches its data. No authentication (PR:N), no user interaction, no special headers, and no large payload are needed. Limiting factors: the target must serve HTTP/1 chunked requests via Bandit in the affected version range, and the trailer/mismatch must reach the Bandit decoder - but note that common reverse proxies (NGINX, HAProxy) forward trailer-bearing chunked requests, so even non-malicious upstream traffic can trigger the condition. |
| Impact | This is a genuine, easy-to-trigger availability threat rather than an inflated high-CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with VA:H and no confidentiality/integrity impact) accurately reflects a network-reachable, no-privilege, no-interaction, availability-only bug; the assessed 3.1 equivalent is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5). SSVC reinforces prioritization: exploitation=poc, automatable=yes, technical impact=partial - automation is trivial since a fixed byte sequence pins each worker. The low EPSS (0.47%, 65th percentile) and absence from CISA KEV indicate no confirmed mass exploitation yet, consistent with a newly disclosed issue rather than low real-world exploitability; the automatable+PoC signals suggest exploitation is straightforward if targeted. A notable amplifier: because reverse proxies such as NGINX and HAProxy legitimately forward trailer-bearing chunked requests, a Bandit server behind such a proxy could be knocked over by benign, non-malicious clients, raising the practical likelihood of accidental impact. Impact is availability-only - no data disclosure or code execution. |
| Exploit ScenarioDerived | An unauthenticated attacker opens a few TCP connections to a Bandit-backed endpoint and sends RFC-conformant Transfer-Encoding: chunked requests whose body ends with a trailer field (e.g. '0\r\nX-T: v\r\n\r\n'). Each request permanently pins the handling worker in an infinite recursion, and a handful of connections exhaust the worker pool so the server stops responding to all clients. A working PoC that starts Bandit 1.10 and reproduces the hang is published in the GHSA advisory, and low attack complexity (AC:L, no auth, no special headers or large payload) makes the attack trivially automatable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Unauthenticated remote denial of service in mtrudel Bandit (Elixir HTTP server) versions 1.6.1 through 1.11.0 lets any client pin a worker process indefinitely by sending an RFC 9112-conformant chunked request that ends with trailer fields. Because the HTTP/1 chunked decoder only terminates on a bare '0\r\n\r\n' and never consumes trailers, a handful of concurrent connections exhausts the worker pool and makes the server unresponsive to all traffic. Publicly available exploit code exists (a self-contained PoC ships in the GHSA advisory), though the flaw is not listed in CISA KEV and EPSS is low (0.47%).
RemediationAI
Vendor-released patch: upgrade Bandit to 1.11.1 or later, which rewrites the chunked decoder to parse and discard trailers (via do_read_headers! on the trailer section) and guarantees forward progress by raising a request error instead of re-entering with an unchanged buffer; the fix is commit ae3520dfdbfab115c638f8c7f6f6b805db34e1ab, described in advisory https://github.com/mtrudel/bandit/security/advisories/GHSA-rf5q-vwxw-gmrf. If you cannot upgrade immediately, the most direct compensating control is to strip or reject trailer fields at an upstream proxy before requests reach Bandit - for example configure NGINX/HAProxy to not forward chunked trailers, or reject requests whose chunked body contains data after the '0\r\n' last-chunk marker; the trade-off is that legitimate trailer-bearing clients (rare in practice) would break. As secondary controls, place the server behind a WAF or rate limiter that caps concurrent long-lived connections per source and monitor for worker-pool saturation, accepting that these only slow an attacker rather than closing the bug. Because trailers are RFC-legal and can arrive from benign proxied traffic, patching to 1.11.1 is strongly preferred over any filtering workaround.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Bandit is a pure-Elixir HTTP/1.1 and HTTP/2 web server built on Thousand Island/ranch that commonly backs Phoenix applications as an alternative to Cowboy. The defect is a CWE-835 Loop with Unreachable Exit Condition in lib/bandit/http1/socket.ex, function do_read_chunked_data!/5. Its terminator clause matches only the pattern ['0', '\r\n' <> rest] - the last-chunk marker immediately followed by the empty trailer line. RFC 9112 §7.1.2 permits zero or more trailer fields between the '0\r\n' line and the final '\r\n', so a body ending '0\r\nX-T: v\r\n\r\n' causes :binary.split/2 to return ['0', 'X-T: v\r\n\r\n'], which fails every match clause. Execution falls into the catch-all arm, computes a negative to_read (0 - byte_size(rest)), calls read_available!/2 which returns <<>> on timeout, and tail-recurses with an unchanged buffer - making no forward progress. A source comment on line 245 ('We should be reading (and ignoring) trailers here') acknowledges the gap. The same non-progress shape also triggers on malformed chunk frames whose declared size disagrees with the actual data length.
Know when Bandit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable, no auth or interaction, low complexity via a fixed byte sequence; availability-only impact (worker exhaustion) with no confidentiality or integrity effect.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.org
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in mtrudel bandit allows unauthenticated remote denial of service via worker process exhaustion.
'Elixir.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.
Executive ViewAI
Bandit, a widely-used Elixir HTTP server, contains a remote denial of service vulnerability in versions 1.6.1 through 1.11.0 that allows any remote client to render affected servers unresponsive by sending specially crafted RFC 9112-conformant chunked HTTP requests. Publicly available exploit code exists, creating immediate risk for organizations running vulnerable versions in production. Affected systems face potential complete service outages and should be patched urgently.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Memory exhaustion in Bandit WebSocket server (versions 0.5.0 through 1.10.x) allows unauthenticated remote attackers to
Memory exhaustion in Bandit WebSocket server (versions 0.5.9 through 1.10.x) allows unauthenticated remote attackers to
Denial of service in mtrudel bandit via HTTP/2 frame deserialization allows unauthenticated remote attackers to exhaust
Transport-state spoofing in Bandit 1.0.0 through 1.10.x allows unauthenticated remote attackers to forge HTTPS connectio
HTTP request smuggling in mtrudel bandit before version 1.11.0 allows unauthenticated attackers to bypass edge security
Uncontrolled HTTP/2 flow-control resource consumption in mtrudel/bandit 1.4.0 and later lets an unauthenticated remote p
Bandit's HTTP/2 request body reader amplifies memory use, letting an unauthenticated remote client make a server hold ro
CPU exhaustion in bandit 1.11.0 to 1.12.0 allows unauthenticated remote denial-of-service via WebSocket fragment reassem
Unauthenticated remote denial of service in Bandit (the Elixir HTTP/1 web server for Phoenix/Plug applications) versions
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote attackers can exhaust BEAM node memory on default-configured mtrudel Bandit HTTP/2 servers (0.3.3
EUVD-2026-29951
GHSA-rf5q-vwxw-gmrf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB