CVE-2026-111103
CVE-2026-111103 · HTTP/2 StreamError recovery rolls back connection state and bypasses per-connection limits in Bandit
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 before 1.14.0.
CVSS 8.2 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
bandit
- Versions
- ≥ 1.9.0, < 1.14.0: Affected (semver)
Update to 1.14.0
bandit
- Versions
- ≥ 3ad49c80c268891e7cc412e69649115456638e59, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a: Affected (git)
No fix published
bandit Ubuntu:16.04:LTS
- Versions
- 0.13.2-1
- 0.13.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:18.04:LTS
- Versions
- 1.4.0-0ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:20.04:LTS
- Versions
- 1.5.1-3
- 1.6.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:22.04:LTS
- Versions
- 1.6.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:24.04:LTS
- Versions
- 1.6.2-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:26.10
- Versions
- 1.7.10-3
- 1.9.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
bandit Ubuntu:26.04:LTS
- Versions
- 1.7.10-2
- 1.7.10-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/mtrudel/bandit/security/advisories/GHSA-2238-pgfc-w82m
- https://cna.erlef.org/cves/CVE-2026-111103.html
- https://osv.dev/vulnerability/EEF-CVE-2026-111103
- https://github.com/mtrudel/bandit/commit/3ad49c80c268891e7cc412e69649115456638e59
- https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
- https://nvd.nist.gov/vuln/detail/CVE-2026-111103