🔍 CVE-2025-62373

9.8
CVSS Score
CRITICAL
2026-04-23
2026-10-12 22:10
✅ 완료

🇰🇷 한글 설명

Pipecat 프레임워크의 LivekitFrameSerializer가 WebSocket 클라이언트로부터 수신한 데이터를 검증 없이 pickle.loads()로 역직렬화하여 원격 코드 실행을 초래합니다. 외부 인터페이스(0.0.0.0)에 노출된 경우 악의적인 pickle 페이로드를 통해 서버 완전 제어가 가능합니다. 버전 0.0.94 이상으로 업그레이드하거나 LivekitFrameSerializer 사용을 중단해야 합니다.

💡 쉬운 설명

Pipecat 음성 채팅 프레임워크에서 인터넷으로부터 온 데이터를 안전하게 검증하지 않고 실행하는 결함이 있습니다. 공격자는 이를 악용하여 서버 컴퓨터를 완전히 제어할 수 있습니다.

🇺🇸 원문 (English)

Pipecat is an open-source Python framework for building real-time voice and multimodal conversational agents. Versions 0.0.41 through 0.0.93 have a vulnerability in `LivekitFrameSerializer` – an optional, non-default, undocumented frame serializer class (now deprecated) intended for LiveKit integration. The class's `deserialize()` method uses Python's `pickle.loads()` on data received from WebSocket clients without any validation or sanitization. This means that a malicious WebSocket client can send a crafted pickle payload to execute arbitrary code on the Pipecat server. The vulnerable code resides in `src/pipecat/serializers/livekit.py` (around line 73), where untrusted WebSocket message data is passed directly into `pickle.loads()` for deserialization. If a Pipecat server is configured to use LivekitFrameSerializer and is listening on an external interface (e.g. 0.0.0.0), an attacker on the network (or the internet, if the service is exposed) could achieve remote code execution (RCE) on the server by sending a malicious pickle payload. Version 0.0.94 contains a fix. Users of Pipecat should avoid or replace unsafe deserialization and improve network security configuration. The best mitigation is to stop using the vulnerable LivekitFrameSerializer altogether. Those who require LiveKit functionality should upgrade to the latest Pipecat version and switch to the recommended `LiveKitTransport` or another secure method provided by the framework. Additionally, always follow secure coding practices: never trust client-supplied data, and avoid Python pickle (or similar unsafe deserialization) in network-facing components.

📍 영향받는 시스템

Pipecat 버전 0.0.41 ~ 0.0.93 (LivekitFrameSerializer 사용 시)

⚔️ 공격 벡터

WebSocket을 통해 악의적인 pickle 페이로드를 전송하여 서버에서 임의 코드 실행

🛡️ 대응 방법

Pipecat을 0.0.94 이상으로 업그레이드하거나 LivekitFrameSerializer 대신 LiveKitTransport 사용

🔧 검증 코드

설치된 Pipecat 버전이 0.0.94 이상이면 안전하고, 0.0.93 이하이면 취약함

Shell / Script
pip list | grep -i pipecat | awk '{print $2}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Python