{
  "id": "CVE-2026-114213",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-114213",
  "published_at": "2026-10-26T13:30:58.262Z",
  "title": "WebSocket 1-byte continuation frames bypass `max_fragmented_message_size` in Bandit",
  "vendor": "mtrudel",
  "product": "bandit",
  "cvss": {
    "score": 8.7,
    "source": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\nBandit.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.\n\nThis issue affects bandit: from 1.11.0 before 1.14.0.",
  "cwe": "CWE-770",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mtrudel",
        "product": "bandit",
        "ranges": [
          "\u003e= 1.11.0, \u003c 1.14.0"
        ],
        "fixed_in": [
          "1.14.0"
        ]
      },
      {
        "vendor": "mtrudel",
        "product": "bandit",
        "ranges": [
          "\u003e= 21612c7c7b1ce43eccd36d3af3a2299d23513667, \u003c 220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
        ],
        "fixed_in": [
          "220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bandit to 1.14.0 or later.",
      "Upgrade bandit to 220b9dfd27f9a21305be2afc75cbe585ddc24e7a or later."
    ],
    "workarounds": [
      "Lower websocket_options: [max_fragmented_message_size: ...] to the largest fragmented message the application needs, for example 65_536. Memory per connection stays at about 150 times this limit, so a lower limit lowers the ceiling."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mtrudel/bandit/security/advisories/GHSA-cpx7-qf6w-jc63"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mtrudel/bandit/commit/21612c7c7b1ce43eccd36d3af3a2299d23513667"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
