WebSocket Fragmentation Vulnerability in Mongoose Embedded Web Server
CVE-2026-106024

6.9MEDIUM

Key Information:

Vendor

Cesanta

Status
Vendor
CVE Published:
20 November 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Abbos Eshmurzayev
.