Improper Enforcement of Behavioral Workflow in Mongoose - CVE-2026-106024
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to control the flags of a WebSocket message delivered to the application and cause its payload to lose the first byte.
The vulnerability exists due to improper sequencing validation in the mg_ws_cb() function when reassembling WebSocket messages without tracking whether a fragmented message is in progress. A remote attacker can send out-of-sequence WebSocket traffic to mislead applications that rely on message flags to identify message types.