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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T13:44:57.161Z
- Modified: 2026-11-25T05:18:25.563Z
- Weaknesses: CWE-841
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- cesanta mongoose: before 7.24

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/cesanta/mongoose/security/advisories/GHSA-8r69-8vm6-fv67> (exploit, technical-description, vendor-advisory)
- <https://github.com/cesanta/mongoose/releases/tag/7.24> (patch, release-notes)
- <https://www.vulncheck.com/advisories/mongoose-before-websocket-frame-validation-bypass-via-ws-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-106024](https://www.cve.org/CVERecord?id=CVE-2026-106024), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-106024](https://nvd.nist.gov/vuln/detail/CVE-2026-106024), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-106024 · Whole record: https://cve.day/CVE-2026-106024.json · Rebuilt by cve.day 2026-11-25T23:17:30.335Z
