Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2026-106024

CVE-2026-106024: Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c

cesanta mongoose

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-106024: medium-severity vulnerability (CVSS 6.9) in cesanta mongoose.

What happened

Original description from the source: Mongoose Embedded Web Server / Networking Library before 7.24 contains a WebSocket fragmentation validation vulnerability that allows remote attackers to spoof message metadata by sending a single CONTINUATION frame with FIN=1 as the first data frame instead of a required TEXT/BINARY start frame, violating RFC 6455 sequencing rules. Attackers can craft this malformed frame to make mg_ws_cb() in src/ws.c misinterpret the first byte of payload as saved FIN/opcode flags, causing the application to receive a dispatched MG_EV_WS_MSG event with attacker-controlled flags and data truncated by one byte without closing the connection.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

cesanta mongoose < 7.24

ProductVersionsFixed in
cesanta mongoose< 7.24—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-841

Relevant change history

  1. Published

    Preliminary advisory published.