Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 24%

CVE-2025-62373: CWE-502: Deserialization of Untrusted Data in pipecat-ai pipecat

0
Critical
VulnerabilityCVE-2025-62373cvecve-2025-62373cwe-502
Published: Thu Apr 23 2026 (04/23/2026, 14:40:17 UTC)
Source: CVE Database V5
Vendor/Project: pipecat-ai
Product: pipecat

Description

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.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/23/2026, 19:06:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6/7/2026, 6:42:00 AM

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses