Skip to main content

Bandit CVE-2026-74836

| EUVDEUVD-2026-63660 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-20 6b3ad84c-e1a6-4bf7-a703-f496b71e49db GHSA-fv6j-9p8m-c3wr
8.7
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Establish HTTP/2 connection to Bandit server
  2. Delivery
    Target endpoint returning response > 65535 bytes
  3. Exploit
    Advertise large stream window to isolate connection window as bottleneck
  4. Install
    Response queued in pending_sends, stream process blocks in GenServer call
  5. C2
    Send periodic PING frames to defeat transport read timeout
  6. Execute
    Issue RST_STREAM (silently no-op in vulnerable versions)
  7. Impact
    Repeat across streams and connections to exhaust server process pool

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
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

HTTP/2 must be negotiated on the connection (TLS with ALPN 'h2' or h2c cleartext where enabled). The targeted endpoint must produce a response body exceeding the HTTP/2 connection-level send window (default 65,535 bytes, shared across all streams); endpoints returning small responses (error pages, health checks, payloads under 64KB) cannot trigger the blocking condition. The attacker must advertise a stream-level flow-control window larger than the connection window so the connection window becomes the binding constraint, and must keep the TCP connection alive with periodic HTTP/2 PING frames to defeat Bandit's transport-level read timeout. No authentication is required. The impact is amplified - but not conditioned upon - the Plug application holding pooled upstream connections or other limited resources across blocking writes (e.g., reverse-proxy deployments). Exploitation is limited to processes handling the affected HTTP/2 path; HTTP/1 connections are not affected.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) accurately captures the threat profile: fully network-exploitable with no prerequisites, no authentication, and no user interaction, resulting in high availability impact. No EPSS score was provided in the available intelligence, so exploitation probability relative to the broader CVE population cannot be quantified. No CISA KEV listing exists, meaning active exploitation is not confirmed. However, the attack's low complexity is a genuine concern independent of KEV status: the attacker needs only a persistent TCP socket, knowledge of any endpoint whose response exceeds 64KB (common for most non-trivial payloads), and the ability to send PING frames - all standard HTTP/2 client capabilities. The asymmetry is significant: the attacker spends one idle socket per pinned stream, while the server spends an Elixir process, accumulated Plug state, and - in reverse-proxy deployments - a pooled upstream connection for each. Organizations running Bandit in front of upstream services or databases face compounded resource exhaustion. The absence of a POC and KEV listing tempers urgency slightly, but the low barrier to exploitation and the potential to hold pooled resources hostage make this a genuine operational priority for any team running affected versions in production.

Exploit ScenarioDerived

An attacker opens an HTTP/2 connection to any Bandit-served endpoint that returns a response body larger than 65,535 bytes - a threshold met by most non-trivial API responses, file downloads, or proxied upstream replies - and advertises a permissively large stream-level flow-control window so the connection-level window becomes the sole bottleneck. Once the stream process is blocked in its synchronous GenServer call, the attacker sends periodic HTTP/2 PING frames to prevent the transport read timeout from firing and issues RST_STREAM (which is silently ignored in vulnerable versions), then repeats this pattern across additional streams and connections, each pinning an Elixir process and any pooled resources it holds until the server is resource-exhausted.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Denial-of-service in Bandit (Elixir HTTP server) versions 0.3.4 through 1.12.4 allows unauthenticated remote attackers to pin an unbounded number of HTTP/2 stream processes indefinitely by exploiting the absence of any timeout on the connection-level HTTP/2 send window queue. When a response body exceeds the default 65,535-byte connection window, the stream process blocks forever inside a synchronous GenServer call, and neither RST_STREAM frames nor periodic PING keepalives free the stalled resources in vulnerable versions - the attacker can keep the connection alive with PINGs specifically to defeat the transport read timeout. No public exploit code has been identified at time of analysis, but the attack primitive requires no authentication and is repeatable across streams and connections at the cost of one idle socket each.

RemediationAI

The primary fix is to upgrade Bandit to version 1.12.5, which resolves the vulnerability by adding a 15-second expiry (@pending_send_timeout 15_000) to all connection-level pending sends, introducing expire_pending_sends/1 (triggered on every inbound frame including PING keepalives) to evict stalled sends, and wiring purge_pending_send/2 into RST_STREAM and stream process exit handling so stream cancellation actually frees queued resources. The fix commit is available at https://github.com/mtrudel/bandit/commit/f6914aad14bb1365dd6f306aa592cfb0819bed3e and the advisory at https://github.com/mtrudel/bandit/security/advisories/GHSA-xj8g-532w-jv94. If immediate upgrade is not feasible, place a rate-limiting reverse proxy (nginx, HAProxy, or Cloudflare) in front of Bandit and enforce per-IP concurrent connection and request limits - note this does not eliminate the window between connection establishment and rate-limit enforcement, and PING-based keepalives can still defeat Bandit's own transport timeout, so network-layer idle-connection timeouts are a critical complement. Restricting HTTP/2 negotiation to trusted clients or internal networks eliminates the attack surface entirely but may not be practical for public-facing services.

Affected VersionsENISA

bandit 6feadb31189d18b7dcda6c663112cd3bbaf63a46 <f6914aad14bb1365dd6f306aa592cfb0819bed3e
bandit 0.3.4 <1.12.5

Affected Packages

euvd bandit fix: 1.12.5

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 an Elixir-native HTTP/1 and HTTP/2 server library built on the Plug interface, used in Phoenix and standalone Elixir web applications. The vulnerable component is Bandit.HTTP2.Connection, which manages the HTTP/2 connection-level flow-control send window - a shared 65,535-byte budget (RFC 9113 default) across all concurrent streams on a single connection. When a stream's response body exceeds this budget, the connection process queues the remaining bytes and an unblock closure in the pending_sends list, and the stream process blocks inside a synchronous GenServer.call to the connection process. CWE-770 (Allocation of Resources Without Limits or Throttling) is the exact root cause: the stream-level send window already had a 15-second timeout (in Bandit.HTTP2.Stream), but the connection-level pending_sends queue had no equivalent expiry. Additionally, RST_STREAM frames sent by the client are delivered to the stream process's mailbox but never read while it is stuck inside the synchronous call, so stream cancellation is a no-op for resource recovery. The fix (commit f6914aad) introduces a @pending_send_timeout of 15,000ms, an expire_pending_sends/1 function triggered on any inbound data including PING frames, and a purge_pending_send/2 called on RST_STREAM receipt.

Know when the next one hits your stack

  • 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

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Fully network-exploitable with no authentication, no complexity, and no user interaction; only availability is affected as no data is exposed or modified.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 22:04 EUVD
CVE Published
Aug 20, 2026 - 21:17 cve.org
HIGH 8.7

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows an unauthenticated remote attacker to pin an unbounded number of HTTP/2 stream processes indefinitely via connection-level flow control. When a stream's response body outruns the HTTP/2 connection-level send window (default 65,535 bytes, shared across all streams on the connection), Bandit.HTTP2.Connection queues the remaining bytes and a reply closure in pending_sends and the stream process blocks forever inside a synchronous call to the connection process. Nothing bounds that wait and nothing purges the queue: a client RST_STREAM for the blocked stream is delivered to its mailbox but never read while it is stuck inside the call, so cancelling frees nothing, and periodic PING frames keep the transport-level read timeout from ever firing. The equivalent block on the stream-level send window is already bounded at 15 seconds; the connection-level path had no such bound.

Each stalled stream pins its process, Plug state, and any resource the Plug holds across the blocked write, such as a pooled upstream connection in a reverse-proxy Plug. The attacker chooses any endpoint whose response exceeds the connection window (common for most non-trivial payloads), grants a generous stream-level window so only the connection window limits it, and keeps the connection alive with periodic PINGs; the primitive is repeatable across streams and connections at the cost of one idle socket each.

This issue affects bandit: from 0.3.4 before 1.12.5.

Executive ViewAI

Why It Matters

Bandit (Elixir HTTP server) versions 0.3.4-1.12.4 contain a denial-of-service vulnerability (CVE-2026-74836, CVSS 8.7) allowing unauthenticated remote attackers to exhaust server resources and cause application unavailability through HTTP/2 stream exhaustion. Organizations running affected Bandit versions face direct risk of unplanned service outages triggered by simple, repeatable network attacks. With no vendor patch currently available, operational containment measures are immediately critical.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement reverse-proxy or load-balancer per-IP rate limiting to constrain HTTP/2 stream and connection counts; (2) enforce aggressive read and idle timeouts independent of HTTP/2 PING frames to force stalled streams closed; (3) deploy monitoring on connection pool saturation and stream process counts to detect rapid growth patterns indicative of attack; (4) restrict Bandit deployments to internal networks or behind strict network ingress controls if operationally feasible; (5) configure HTTP/2-aware WAF rules to identify and block repeated RST_STREAM and stream reset anomalies; (6) maintain continuous subscription to Elixir and Bandit project security channels for immediate patch adoption upon release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche Elixir HTTP server library, confined to Elixir/Phoenix ecosystem
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy