Summary
CVE-2026-108525 is an HTTP/2 flow control enforcement vulnerability (CWE-770, Allocation of Resources Without Limits or Throttling) in Bandit, the Elixir HTTP server. An unauthenticated remote attacker can exhaust server memory and crash the BEAM node, causing denial of service. The severity is High (CVSS 8.7).
Technical details
- Root cause: Bandit does not enforce the HTTP/2 receive window for inbound DATA frames. Per the vendor advisory, three flaws combine: connection-level window validation happens after frames are forwarded to streams, stream-level windows are debited only when a message is consumed rather than when it is received, and blocked send operations let incoming DATA messages pile up unread in process queues.
- Trigger conditions: HTTP/2 must be enabled (the default is not stated in the sources). No authentication or user interaction is required.
- Attack vector: Network. The attacker floods small DATA frames past the advertised receive window on a stream and withholds WINDOW_UPDATE messages.
- Impact: Frames queue indefinitely in the stream process mailbox until the BEAM node runs out of memory, so the whole node becomes unavailable (availability impact only).
Affected software
- Bandit 0.3.1 through versions before 1.14.0 (that is, up to 1.13.x)
- Fixed in Bandit 1.14.0
Severity
- CVSS v4.0 base score 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 - The published record uses CVSS v4.0. No CVSS v3.1 vector was found in the sources.
Mitigation and recommended actions
- Immediate: Upgrade Bandit to 1.14.0 or later.
- Workaround if you cannot patch: From Bandit 0.7.0 onward, disable HTTP/2 with
http_2_options: [enabled: false]. This removes the vulnerable code path. The sources do not give a workaround for versions before 0.7.0, so upgrade those. - Identify internet-facing Elixir/Phoenix services that use Bandit and confirm their deployed version.

