CVE-2026-42786: Bandit Unbounded Websocket Continuation

WebSocket continuation frames are accumulated into the connection's fragment state without cumulative size checks. This exposes the application to memory exhaustion and Denial of Service (DoS) attacks via unbounded fragmented messages. Ensure that a size limit check is performed when accumulating payload chunks.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Elixir
greprules fetch cve-2026-42786-bandit-unbounded-websocket-continuation --engine opengrep

Description

WebSocket continuation frames are accumulated into the connection's fragment state without cumulative size checks. This exposes the application to memory exhaustion and Denial of Service (DoS) attacks via unbounded fragmented messages. Ensure that a size limit check is performed when accumulating payload chunks.