Skip to main content
EPSS 0.2%top 92%

CVE-2026-55663: CWE-345: Insufficient Verification of Data Authenticity in versatica mediasoup

0
Medium
VulnerabilityCVE-2026-55663cvecve-2026-55663cwe-345
Published: 08/25/2026 (08/25/2026, 18:15:16 UTC)
Source: CVE Database V5
Vendor/Project: versatica
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

versatica

mediasoup

Affected versions
>=3.20.0 <3.20.6>=0.22.0 <0.22.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 17:53:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses