HTTP/2 WINDOW_UPDATE and SETTINGS frames reset the request body read timeout in Bandit
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 request body reader of mtrudel bandit allows an unauthenticated remote attacker to hold stream processes open indefinitely via WINDOW_UPDATE or empty SETTINGS frames sent while a Plug reads the request body.
Bandit.HTTP2.Stream.do_read_data/4 in lib/bandit/http2/stream.ex waits for each frame with a fresh read_timeout. A stream WINDOW_UPDATE, or the zero-delta window update that every empty SETTINGS frame delivers to all streams, ends the wait without delivering any body data, and the loop starts a new full countdown. A client that sends one of these 9-byte frames before each countdown expires keeps read_body blocked, together with the stream process and whatever the application holds while reading, for as long as it likes.
This issue affects bandit: from 1.4.0 before 1.14.0.
Text from CVE List
Affected versions 2
- banditaffected: 1.4.0 before 1.14.0CVE List
- banditaffected: fff06efe3be962b484bd4d3eb339372fda5a231f before 220b9dfd27f9a21305be2afc75cbe585ddc24e7aCVE List
References 5
- github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231fFixvia CVE List
- github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7aFixvia CVE List
- github.com/mtrudel/bandit/security/advisories/GHSA-p2qv-vx88-385xAdvisoryvia CVE List
- cna.erlef.org/cves/CVE-2026-115269.htmlReferencevia CVE List
- osv.dev/vulnerability/EEF-CVE-2026-115269Referencevia CVE List