CVE-2026-106024
Mongoose before 7.24 WebSocket Frame Validation Bypass via ws.c
- CVSS
- 6.9
- EPSS
- 0.45% (p31)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-25
- Product
- cesanta mongoose
- Aliases
- GHSA-8r69-8vm6-fv67
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Description
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.
Fixed in
7.24
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | mongoose | >=0, <7.24 | 7.24 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/cesanta/mongoose/releases/tag/7.24 patch
- https://github.com/cesanta/mongoose/security/advisories/GHSA-8r69-8vm6-fv67 vendor-advisory
- https://www.vulncheck.com/advisories/mongoose-before-websocket-frame-validation-bypass-via-ws-c third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106024.json advisory
- https://github.com/cesanta/mongoose package
- https://nvd.nist.gov/vuln/detail/CVE-2026-106024 advisory