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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.6
- **CVSS:** 5.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-345
- **Aliases:** GHSA-p7x2-g5cq-fhmq
- **Published:** 2026-08-25T18:15:16.059Z
- **Modified:** 2026-09-09T21:07:31.353Z

## Who should check

- Projects that depend on npm package mediasoup (\>= 3.20.0, \< 3.20.6)
- Projects that depend on crates.io package mediasoup (\>= 0.22.0, \< 0.22.5)
- Anyone running versatica mediasoup \>= 3.20.0, \< 3.20.6; \>= 0.22.0, \< 0.22.5

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

## Affected and fixed versions

- npm `mediasoup`: affected \>= 3.20.0, \< 3.20.6; fixed 3.20.6 (osv)
- crates.io `mediasoup`: affected \>= 0.22.0, \< 0.22.5; fixed 0.22.5 (osv)
- versatica mediasoup: \>= 3.20.0, \< 3.20.6; \>= 0.22.0, \< 0.22.5 (cvelist)

## Mitigation

- Upgrade mediasoup to 3.20.6 or later.
- Upgrade mediasoup to 0.22.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55663.md
Affected: mediasoup >= 3.20.0, < 3.20.6; mediasoup >= 0.22.0, < 0.22.5
Fixed in: 3.20.6, 0.22.5

Steps:
1. Search this machine and project for mediasoup (npm), mediasoup (crates.io), versatica mediasoup: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55663 being exploited?

There is no confirmed exploitation: CVE-2026-55663 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55663?

Medium: CVSS 5.6 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-55663?

mediasoup \>= 3.20.0, \< 3.20.6; mediasoup \>= 0.22.0, \< 0.22.5.

### Is there a fix for CVE-2026-55663?

Yes. Fixed in 3.20.6, 0.22.5. Upgrade mediasoup to 3.20.6 or later. Upgrade mediasoup to 0.22.5 or later.

### How do I check if I'm affected by CVE-2026-55663?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/versatica/mediasoup/security/advisories/GHSA-p7x2-g5cq-fhmq>
- patch: <https://github.com/versatica/mediasoup/pull/1829>
- patch: <https://github.com/versatica/mediasoup/commit/9c1a90a8f9206b965e727d134846fb42df4980a7>
- other: <https://github.com/versatica/mediasoup/releases/tag/3.20.6>
- other: <https://github.com/versatica/mediasoup>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55663>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p7x2-g5cq-fhmq> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55663> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55663>
