{"id":"CVE-2025-62373","published":"2026-04-23T14:40:17Z","modified":"2026-04-23T18:35:54Z","title":"Pipecat vulnerable to Remote Code Execution by Pickle Deserialization via LivekitFrameSerializer","vendor":"pipecat-ai","product":"pipecat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00712,"percentile":0.54497,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/pipecat-ai/pipecat/security/advisories/GHSA-c2jg-5cp7-6wc7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":10.9},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"pipecat-ai","affectedVersions":[{"vendor":"pipecat-ai","product":"pipecat","versions":[">= 0.0.41, < 0.0.94"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-23T18:35:31.387759Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pipecat-ai","vulnerableRanges":[">=0.0.41, <0.0.94"],"patched":["0.0.94"],"from":["GHSA-c2jg-5cp7-6wc7","PYSEC-2026-458"],"provenance":"source"}],"summary":{"text":"Pipecat versions 0.0.41 through 0.0.93 contain a flaw in the LivekitFrameSerializer class (an optional, non-default, deprecated serializer in src/pipecat/serializers/livekit.py) where deserialize() passes untrusted WebSocket message data directly to pickle.loads() without validation. An attacker who can reach a Pipecat server configured with this serializer over the network, with no authentication or user interaction required, can send a crafted pickle payload to execute arbitrary code on the server; exposure on an external interface such as 0.0.0.0 is what makes this reachable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:00Z"},"euvd":{"id":"EUVD-2025-209570","exploited":false,"provenance":"source"}}