{"id":"CVE-2026-115269","aliases":["CVE-2026-115269","EEF-CVE-2026-115269","GHSA-p2qv-vx88-385x"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP/2 WINDOW_UPDATE and SETTINGS frames reset the request body read timeout in Bandit","summary":"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.\n\nBandit.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.\n\nThis issue affects bandit: from 1.4.0 before 1.14.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nBandit.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.\n\nThis issue affects bandit: from 1.4.0 before 1.14.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAllocation 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.\n\n`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.\n\nThis issue affects bandit: from 1.4.0 before 1.14.0.\n\n## Details\n\n**1. Per-receive timeout.** `Bandit.HTTP2.Stream.read_data/2` passes a flat `read_timeout` (default 15,000 ms) to `do_read_data/4`, which blocks in `do_recv/2`'s `receive ... after timeout`.\n\n**2. Non-progress frames end the wait.** A stream WINDOW_UPDATE, delivered through `Bandit.HTTP2.Connection.handle_frame/3`, or an empty SETTINGS frame, which delivers a zero-delta window update to every stream, is matched inside that `receive`. `do_recv_send_window_update/2` returns a bare `%Stream{}`, and `do_read_data/4` recurses with the identical `timeout`, restarting the countdown.\n\n**3. Nothing else bounds the read.** The transport read timeout fires only when no bytes arrive, `max_bytes` is decremented only by DATA frames, and neither WINDOW_UPDATE nor SETTINGS frames are rate limited. The send path in `do_send_data/4` uses a progress-based deadline; the read path does not.\n\n## Proof of concept\n\n1. Run Bandit with a Plug that calls `Plug.Conn.read_body/2`.\n2. Open an HTTP/2 connection and send HEADERS for `POST /` on stream 1 without END_STREAM.\n3. Every 10 seconds, send a WINDOW_UPDATE on stream 1 with an increment of 1.\n4. The stream stays open for 120 s, eight times the default 15 s `read_timeout`. Without the WINDOW_UPDATE frames, the server ends the read after about 15 s.\n\n## Impact\n\nAn unauthenticated client can keep a Bandit HTTP/2 stream, and whatever its request handler holds while reading the body, occupied indefinitely for 9 bytes per `read_timeout`, and repeat this across many streams and connections. This affects any Bandit server with HTTP/2 enabled whose routes read request bodies, which `Plug.Parsers` does for POST, PUT and PATCH.\n\n## Workarounds\n\nDisable HTTP/2 with `http_2_options: [enabled: false]`, so that the vulnerable read path never runs.","format":"markdown","source":"eef"}],"published":"2026-10-26T13:30:24.621Z","modified":"2026-11-25T06:30:07.476Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","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"}],"cwes":["CWE-770","CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"1.4.0","fixed":"1.14.0","status":"affected"}],"vendor":"mtrudel","product":"bandit","package":"bandit","cpe":"cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*","repo":"https://github.com/mtrudel/bandit","source":"cvelist"},{"ranges":[{"type":"git","introduced":"fff06efe3be962b484bd4d3eb339372fda5a231f","fixed":"220b9dfd27f9a21305be2afc75cbe585ddc24e7a","status":"affected"}],"vendor":"mtrudel","product":"bandit","package":"mtrudel/bandit","cpe":"cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*","repo":"https://github.com/mtrudel/bandit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.4.0","status":"affected","fixed":"1.14.0"}],"ecosystem":"Hex","package":"bandit","purl":"pkg:hex/bandit","source":"eef"},{"ranges":[{"type":"git","introduced":"fff06efe3be962b484bd4d3eb339372fda5a231f","status":"affected","fixed":"220b9dfd27f9a21305be2afc75cbe585ddc24e7a"}],"repo":"https://github.com/mtrudel/bandit","source":"eef"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-p2qv-vx88-385x","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-115269.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-115269","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mtrudel/bandit/commit/fff06efe3be962b484bd4d3eb339372fda5a231f","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/bandit","tags":["package"],"sources":["eef"]}],"credits":["Daniel Coles","Jonatan Männchen / EEF","Peter Ullrich","Mat Trudel"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-26T15:02:19.174Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115269","url":"https://www.cve.org/CVERecord?id=CVE-2026-115269","licence":"CVE Terms of Use","modified":"2026-11-19T08:08:45.067Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-115269","url":"https://osv.dev/vulnerability/EEF-CVE-2026-115269","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:07.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115269","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115269","licence":"Public domain","modified":"2026-10-26T16:59:16.113Z"}],"updatedAt":"2026-11-25T22:59:47.123Z","epss":{"score":0.00602,"percentile":0.50195,"date":"2026-12-01T12:00:22.000Z"}}