WebSocket Fragmentation Vulnerability in Mongoose Embedded Web Server
CVE-2026-106024
Key Information:
Badges
What is CVE-2026-106024?
The Mongoose Embedded Web Server prior to version 7.24 is susceptible to a WebSocket fragmentation validation vulnerability. This flaw allows remote attackers to spoof message metadata by sending a malformed CONTINUATION frame with the FIN bit set to 1 as the initial data frame, breaching the RFC 6455 sequencing rules. This exploitation can lead the mg_ws_cb() function in the source code (src/ws.c) to misinterpret the initial byte of the payload as the saved FIN/opcode flags. Consequently, this manipulation results in the application receiving a MG_EV_WS_MSG event that contains attacker-controlled flags and truncated data, without terminating the connection.
Affected Version(s)
mongoose 0 < 7.24
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
