CVE-2025-62373: CWE-502: Deserialization of Untrusted Data in pipecat-ai pipecat
Pipecat versions 0. 0. 41 through 0. 0. 93 contain a critical deserialization vulnerability in the deprecated LivekitFrameSerializer class. This class uses Python's pickle. loads() on untrusted WebSocket client data without validation, enabling remote code execution if the server uses this serializer and is exposed externally. Version 0. 0. 94 fixes this issue by removing or replacing the unsafe deserialization method.
AI Analysis
Technical Summary
The vulnerability in pipecat (CVE-2025-62373) arises from unsafe deserialization in the LivekitFrameSerializer class, which is optional, deprecated, and undocumented. The deserialize() method directly calls Python's pickle.loads() on data received from WebSocket clients without any sanitization, allowing a malicious client to send crafted pickle payloads that execute arbitrary code on the server. This affects pipecat versions from 0.0.41 up to but not including 0.0.94. The issue is fixed in version 0.0.94 by removing or replacing the vulnerable deserialization approach. The vulnerability is critical with a CVSS 3.1 score of 9.8, reflecting network attack vector, no privileges required, no user interaction, and full confidentiality, integrity, and availability impact.
Potential Impact
An attacker who can connect to a pipecat server configured with the vulnerable LivekitFrameSerializer and exposed on an external interface can achieve remote code execution on the server. This can lead to full compromise of the affected system, including unauthorized data access, modification, and service disruption. The vulnerability is critical due to the ease of exploitation (no privileges or user interaction required) and the severity of impact (complete system compromise).
Mitigation Recommendations
A fix is available in pipecat version 0.0.94, which removes or replaces the unsafe deserialization method. Users should upgrade to version 0.0.94 or later. The best mitigation is to stop using the deprecated LivekitFrameSerializer entirely. For those requiring LiveKit integration, switch to the recommended LiveKitTransport or other secure methods provided by the framework. Additionally, avoid using Python pickle or similar unsafe deserialization on network-facing components and never trust client-supplied data. Since this is not a cloud service, remediation depends on user upgrades and configuration changes.
CVE-2025-62373: CWE-502: Deserialization of Untrusted Data in pipecat-ai pipecat
Description
Pipecat versions 0. 0. 41 through 0. 0. 93 contain a critical deserialization vulnerability in the deprecated LivekitFrameSerializer class. This class uses Python's pickle. loads() on untrusted WebSocket client data without validation, enabling remote code execution if the server uses this serializer and is exposed externally. Version 0. 0. 94 fixes this issue by removing or replacing the unsafe deserialization method.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in pipecat (CVE-2025-62373) arises from unsafe deserialization in the LivekitFrameSerializer class, which is optional, deprecated, and undocumented. The deserialize() method directly calls Python's pickle.loads() on data received from WebSocket clients without any sanitization, allowing a malicious client to send crafted pickle payloads that execute arbitrary code on the server. This affects pipecat versions from 0.0.41 up to but not including 0.0.94. The issue is fixed in version 0.0.94 by removing or replacing the vulnerable deserialization approach. The vulnerability is critical with a CVSS 3.1 score of 9.8, reflecting network attack vector, no privileges required, no user interaction, and full confidentiality, integrity, and availability impact.
Potential Impact
An attacker who can connect to a pipecat server configured with the vulnerable LivekitFrameSerializer and exposed on an external interface can achieve remote code execution on the server. This can lead to full compromise of the affected system, including unauthorized data access, modification, and service disruption. The vulnerability is critical due to the ease of exploitation (no privileges or user interaction required) and the severity of impact (complete system compromise).
Mitigation Recommendations
A fix is available in pipecat version 0.0.94, which removes or replaces the unsafe deserialization method. Users should upgrade to version 0.0.94 or later. The best mitigation is to stop using the deprecated LivekitFrameSerializer entirely. For those requiring LiveKit integration, switch to the recommended LiveKitTransport or other secure methods provided by the framework. Additionally, avoid using Python pickle or similar unsafe deserialization on network-facing components and never trust client-supplied data. Since this is not a cloud service, remediation depends on user upgrades and configuration changes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-10-10T14:22:48.204Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ea6a1b87115cfb68455bf4
Added to database: 4/23/2026, 6:51:07 PM
Last enriched: 4/23/2026, 7:06:03 PM
Last updated: 4/23/2026, 9:03:44 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.