Intel

AIKIDO-2026-10984

@livekit/protocol is vulnerable to Cryptographic Downgrade

Cryptographic Downgrade Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago

75

High Risk

This Affects:

JS@livekit/protocol
1.45.8 - 1.45.8
Fixed in 1.46.0
Are you affected? Scan for Free

TL;DR

LiveKit SIP helpers merge trunk, dispatch-rule, and request media settings when building outbound and inbound call parameters. When only the trunk defines SRTP via MediaEncryption, affected versions call Upgrade() before the trunk value is applied, pinning Media.Encryption to disabled and causing generated INVITEs to omit SRTP offers. Calls that rely on trunk-only encryption can therefore negotiate or attempt cleartext RTP even when SRTP was required. The patch treats the protobuf zero encryption value as unset during upgrade so trunk-level MediaEncryption is preserved when request and rule fields are empty.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@livekit/protocol is vulnerable to Cryptographic Downgrade in versions 1.45.8 - 1.45.8.

How to fix this

Upgrade the @livekit/protocol library to the patch version.