# CVE-2026-55663: mediasoup: SCTP state cookie lacks cryptographic authentication, enabling unauthorized association establishment (RFC 9260 violation)

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.19%, higher than 5% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T18:15:16.059Z
- Modified: 2026-09-09T21:07:31.353Z
- Also known as: GHSA-p7x2-g5cq-fhmq
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

mediasoup is a WebRTC video conferencing system. From version 3.20.0 until 3.20.6 for the npm package and from 0.22.0 until 0.22.5 for the Rust crate, mediasoup's built-in SCTP stack authenticates state cookies using only the hardcoded msworker and 0xAD81 magic values instead of a per-instance secret and HMAC, contrary to RFC 9260 Section 5.1.3. The cookie structure and validation in worker/include/RTC/SCTP/association/StateCookie.hpp and worker/src/RTC/SCTP/association/StateCookie.cpp allow an on-path attacker targeting PlainTransport or PipeTransport with SCTP enabled and without DTLS protection to forge a COOKIE-ECHO whose packet verification tag matches the attacker-controlled localVerificationTag. The forged cookie passes StateCookie::IsMediasoupStateCookie() and Association::HandleReceivedCookieEchoChunk(), establishes an unauthorized SCTP association, and permits DataChannel message injection as a trusted peer. WebRtcTransport is not affected because its SCTP runs inside DTLS. This issue is fixed in npm version 3.20.6 and Rust crate version 0.22.5.

(As written by CVE List.)

## Affected

- versatica mediasoup: >= 3.20.0, < 3.20.6; >= 0.22.0, < 0.22.5
- mediasoup (npm): from 3.20.0 before 3.20.6
- mediasoup (crates.io): from 0.22.0 before 0.22.5

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/versatica/mediasoup/security/advisories/GHSA-p7x2-g5cq-fhmq> (exploit, web)
- <https://github.com/versatica/mediasoup/pull/1829> (web)
- <https://github.com/versatica/mediasoup/commit/9c1a90a8f9206b965e727d134846fb42df4980a7> (web)
- <https://github.com/versatica/mediasoup/releases/tag/3.20.6> (web)
- <https://github.com/versatica/mediasoup> (package)

## Sources

- CVE List: [CVE-2026-55663](https://www.cve.org/CVERecord?id=CVE-2026-55663), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-p7x2-g5cq-fhmq](https://github.com/advisories/GHSA-p7x2-g5cq-fhmq), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-55663](https://nvd.nist.gov/vuln/detail/CVE-2026-55663), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-55663 · Whole record: https://cve.day/CVE-2026-55663.json · Rebuilt by cve.day 2026-11-25T22:59:35.208Z
