Summary
CVE-2026-108529 is an inefficient algorithmic complexity vulnerability (CWE-407) in the HTTP/2 implementation of Bandit, the Elixir HTTP server. An unauthenticated remote attacker can exhaust server CPU by sending small HTTP/2 frames, causing denial of service. The vulnerability is rated High (CVSS 8.7).
Technical details
- Root cause: The function
do_pending_sends/2usesList.delete/2for each queued send retry. With n response streams blocked, each triggering frame causes O(n²) list operations. - Trigger conditions: The attacker opens thousands of concurrent HTTP/2 response streams that are blocked on the connection-level send window. The attacker then sends cheap SETTINGS or connection-level (stream 0) WINDOW_UPDATE frames. By default there is no limit on concurrent streams.
- Attack vector: Network. No authentication or user interaction is required.
- Impact: High availability impact only. In the researcher’s testing with 3,000 blocked streams, a single 9-byte SETTINGS frame took about 133 ms to process. The advisory states that a few connections sending a few KB/s can keep every BEAM scheduler busy, starving legitimate requests. No confidentiality or integrity impact.
Affected software
- Bandit (Hex package / mtrudel/bandit) versions 0.3.4 through versions before 1.14.0, per the CVE record. The GitHub advisory text lists the range as 0.3.6 through 1.13.x. Treat any version before 1.14.0 with HTTP/2 enabled as potentially affected.
- Fixed in 1.14.0.
Severity
- CVSS v4.0 base score: 8.7 (High)
- Vector:
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 - The published score uses CVSS v4.0. No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade Bandit to 1.14.0 or later.
- If you cannot patch immediately (workarounds listed in the CVE record):
- From Bandit 1.9.0, bound concurrent streams with
max_concurrent_streams: 100in the HTTP/2 options. - From Bandit 0.7.0, disable HTTP/2 entirely with
http_2_options: [enabled: false].
- From Bandit 1.9.0, bound concurrent streams with
- Review internet-facing Elixir/Phoenix services that use Bandit as their web server and have HTTP/2 enabled.

