{"answers":{"affected":"4 open source packages ship an affected version, including mediasoup.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55663 exists.","fix":"Upgrade mediasoup to a fixed version for your release line: 0.22.5 or 3.20.6.","what":"CVE-2026-55663 is a medium-severity vulnerability in versatica mediasoup, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55663 and fix it if it is affected.\n\nWhat it is: CVE-2026-55663 is a medium-severity vulnerability in versatica mediasoup, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55663 exists.\n\nAffected packages and fixed versions:\n- mediasoup (crates.io): affected from 0.22.0; fixed in 0.22.5\n- mediasoup (crates.io): affected from 0.22.0; fixed in 0.22.5\n- mediasoup (npm): affected from 3.20.0; fixed in 3.20.6\n- mediasoup (npm): affected from 3.20.0; fixed in 3.20.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55663/ (Markdown: https://insights.sbomify.com/CVE-2026-55663/index.md)","id":"CVE-2026-55663","markdown":"https://insights.sbomify.com/CVE-2026-55663/index.md","name":"CVE-2026-55663","record":{"aliases":["GHSA-p7x2-g5cq-fhmq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"WebRTC media server library","requires_auth":"none","summary":"An on-path attacker can forge SCTP state cookies to establish unauthorized associations and inject DataChannel messages in mediasoup when DTLS is disabled.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"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.","ecosystems":["crates.io","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"mediasoup: SCTP state cookie lacks cryptographic authentication, enabling unauthorized association establishment (RFC 9260 violation)","id":"CVE-2026-55663","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Grist: Insufficient access control in the /forms endpoint exposes table metadata","id":"CVE-2026-55664"},"packages":[{"ecosystem":"crates.io","fixed":["0.22.5"],"introduced":["0.22.0"],"last_affected":[],"package":"mediasoup","purl":null,"source":"GHSA-p7x2-g5cq-fhmq"},{"ecosystem":"crates.io","fixed":["0.22.5"],"introduced":["0.22.0"],"last_affected":[],"package":"mediasoup","purl":"pkg:cargo/mediasoup","source":"GHSA-p7x2-g5cq-fhmq"},{"ecosystem":"npm","fixed":["3.20.6"],"introduced":["3.20.0"],"last_affected":[],"package":"mediasoup","purl":null,"source":"GHSA-p7x2-g5cq-fhmq"},{"ecosystem":"npm","fixed":["3.20.6"],"introduced":["3.20.0"],"last_affected":[],"package":"mediasoup","purl":"pkg:npm/mediasoup","source":"GHSA-p7x2-g5cq-fhmq"}],"prev":{"headline":"TinaCMS rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes","id":"CVE-2026-55661"},"products":["mediasoup"],"published":"2026-08-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["versatica"]},"summary":"An on-path attacker can forge SCTP state cookies to establish unauthorized associations and inject DataChannel messages in mediasoup when DTLS is disabled.","url":"https://insights.sbomify.com/CVE-2026-55663/"}