Pipecatにおける信頼できないデータのデシリアライゼーションに関する脆弱性
タイトル Pipecatにおける信頼できないデータのデシリアライゼーションに関する脆弱性
概要

Pipecatはリアルタイム音声およびマルチモーダル会話エージェント構築のためのオープンソースPythonフレームワークです。バージョン0.0.41から0.0.93にかけて、LiveKit統合向けのオプションで非デフォルトかつ未文書化の、現在は廃止されている`LivekitFrameSerializer`クラスに脆弱性があります。このクラスの`deserialize()`メソッドは、WebSocketクライアントから受け取ったデータを検証や無害化を行わずにPythonの`pickle.loads()`に渡しています。つまり、悪意のあるWebSocketクライアントが細工されたpickleペイロードを送信することで、Pipecatサーバ上で任意のコードを実行できます。脆弱なコードは`src/pipecat/serializers/livekit.py`(約73行目)にあり、信頼できないWebSocketメッセージデータが直接`pickle.loads()`に渡されてデシリアライズされています。PipecatサーバがLivekitFrameSerializerを使用するように設定され、外部インターフェース(例: 0.0.0.0)で待ち受けている場合、ネットワーク上の攻撃者(あるいはサービスが公開されていればインターネット上の攻撃者)が悪意あるpickleペイロードを送信することでサーバのリモートコード実行(RCE)を達成できます。バージョン0.0.94でこの問題は修正されました。Pipecatの利用者は安全でないデシリアライズ処理を避けるか置き換え、ネットワークセキュリティの設定を強化すべきです。最善の対策は脆弱なLivekitFrameSerializerの使用を完全に中止することです。LiveKit機能が必要な場合は最新バージョンへのアップグレードおよび推奨される`LiveKitTransport`やフレームワーク提供の他の安全な方法への切り替えを推奨します。さらに、安全なコーディングの実践としてクライアント提供データを決して信頼せず、ネットワークに面したコンポーネントではPythonのpickle(または類似の安全でないデシリアライズ)を使用しないでください。

想定される影響 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年4月23日0:00
登録日 2026年4月30日12:08
最終更新日 2026年4月30日12:08
CVSS3.0 : 緊急
スコア 9.8
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
Pipecat
Pipecat 0.0.41 以上 0.0.94 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年04月30日]
  掲載
2026年4月30日12:08

NVD脆弱性情報
CVE-2025-62373
概要

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.

公表日 2026年4月24日1:16
登録日 2026年4月25日4:06
最終更新日 2026年4月30日0:00
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:pipecat:pipecat:*:*:*:*:*:*:*:* 0.0.41 0.0.94
関連情報、対策とツール
共通脆弱性一覧