CVE-2026-55663: CWE-345: Insufficient Verification of Data Authenticity in versatica mediasoup
Description
mediasoup versions 3.20.0 through 3.20.6 (npm) and 0.22.0 through 0.22.5 (Rust crate) contain an insufficient verification of data authenticity vulnerability in their SCTP stack. The built-in SCTP stack uses hardcoded magic values instead of a per-instance secret and HMAC to authenticate state cookies, allowing an on-path attacker targeting PlainTransport or PipeTransport with SCTP enabled and no DTLS protection to forge a valid COOKIE-ECHO packet. This enables unauthorized SCTP association establishment and DataChannel message injection as a trusted peer. WebRtcTransport is not affected as its SCTP runs inside DTLS. The issue is fixed in npm version 3.20.6 and Rust crate version 0.22.5.
CVSS v3.1
Score 5.6medium
Affected software
versatica
mediasoup
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The mediasoup WebRTC video conferencing system's SCTP stack in versions 3.20.0 to 3.20.6 (npm) and 0.22.0 to 0.22.5 (Rust crate) authenticates state cookies using only hardcoded magic values (msworker and 0xAD81) rather than a per-instance secret and HMAC as required by RFC 9260 Section 5.1.3. This flaw allows an on-path attacker targeting PlainTransport or PipeTransport with SCTP enabled and lacking DTLS protection to forge a COOKIE-ECHO packet with a verification tag controlled by the attacker. The forged cookie passes internal validation functions, leading to unauthorized SCTP association establishment and permitting injection of DataChannel messages as a trusted peer. The WebRtcTransport is unaffected because its SCTP runs inside DTLS, which provides protection. The vulnerability is addressed in npm version 3.20.6 and Rust crate version 0.22.5.
Potential Impact
An attacker positioned on the network path can forge SCTP COOKIE-ECHO packets to establish unauthorized SCTP associations with mediasoup servers using PlainTransport or PipeTransport without DTLS. This unauthorized association allows the attacker to inject DataChannel messages as if they were a trusted peer, potentially leading to data integrity and confidentiality issues. The impact includes limited confidentiality, integrity, and availability loss as indicated by the CVSS score of 5.6. WebRtcTransport users are not affected due to DTLS protection.
Mitigation Recommendations
Upgrade mediasoup to npm version 3.20.6 or later, or Rust crate version 0.22.5 or later, where this vulnerability is fixed. Avoid using PlainTransport or PipeTransport with SCTP enabled without DTLS protection. Since the vendor has provided official fixes, applying these updates is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-17T00:05:03.777Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8de143acd9273b4991a191
Added to database: 08/25/2026, 18:38:59 UTC
Last enriched: 09/10/2026, 17:53:34 UTC
Last updated: 10/10/2026, 18:48:20 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.