Skip to main content

Pipecat EUVDEUVD-2025-209570

| CVE-2025-62373 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-04-23 GitHub_M GHSA-c2jg-5cp7-6wc7
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed Pipecat WebSocket on 0.0.0.0
  2. Delivery
    Confirm LivekitFrameSerializer in use
  3. Exploit
    Craft malicious pickle payload
  4. Execution
    Send payload over WebSocket
  5. Persist
    pickle.loads() deserializes untrusted data
  6. Impact
    Execute arbitrary code as server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the target to have explicitly configured the optional, non-default, deprecated LivekitFrameSerializer in its pipeline AND to accept WebSocket connections reachable by the attacker (typically the server bound to an external interface such as 0.0.0.0). When those two conditions hold, no authentication or user interaction is needed (CVSS PR:N/UI:N): the attacker simply sends a malicious pickle byte stream to the WebSocket endpoint. Limiting factors that reduce real-world exposure: LivekitFrameSerializer is not enabled by default and is undocumented/deprecated (removed in 0.0.94), so default installations are not affected; deployments bound only to localhost or behind a firewall are not remotely reachable.

Impact

The signals are mixed and must be weighed together rather than taken from the 9.8 CVSS alone. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) and SSVC (Exploitation: poc, Automatable: yes, Technical Impact: total) both point to trivial, high-impact, automatable network RCE once the vulnerable path is reachable - a genuine critical if you run the affected configuration. However, the EPSS score is low (0.30%, 54th percentile) and there is no CISA KEV listing, indicating no observed mass exploitation to date. The decisive limiting factor is that CVSS base metrics do not capture the non-default prerequisite: LivekitFrameSerializer is optional, undocumented, and deprecated, so most Pipecat deployments never instantiate the vulnerable code. Net assessment: treat as an urgent priority for the small population actually using LivekitFrameSerializer on an externally-exposed listener, and as low real-world risk for everyone else - the high CVSS overstates exposure for the typical default deployment.

Exploit ScenarioDerived

An organization runs a Pipecat voice-agent server that was configured to use LivekitFrameSerializer and exposes its WebSocket endpoint on 0.0.0.0. An unauthenticated attacker connects as a WebSocket client and sends a crafted pickle payload whose __reduce__ executes a reverse shell; pickle.loads() runs it during deserialize(), giving code execution as the Pipecat process. Given the low attack complexity and automatable nature (SSVC), and the availability of public pickle-RCE proof-of-concept techniques, this can be scripted against any exposed vulnerable instance.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Remote code execution in the Pipecat voice/multimodal agent framework (Python) affects versions 0.0.41 through 0.0.93 when the optional, non-default LivekitFrameSerializer is enabled, because its deserialize() method feeds raw WebSocket bytes into pickle.loads() without validation. A malicious WebSocket client can send a crafted pickle payload to run arbitrary code on the server, and if the service listens on an external interface (e.g. 0.0.0.0) the attack is reachable over the network or internet. The issue is fixed in 0.0.94 (serializer removed); publicly available exploit code exists per the SSVC 'poc' status, but it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: 0.0.94 - upgrade pipecat-ai to 0.0.94 or later, in which LivekitFrameSerializer has been removed entirely (release: https://github.com/pipecat-ai/pipecat/releases/tag/v0.0.94). If you require LiveKit functionality, migrate to the recommended LiveKitTransport rather than the removed serializer. If you cannot upgrade immediately, the highest-value compensating control is to stop using LivekitFrameSerializer in your pipeline configuration (it is non-default, so most deployments simply do not reference it); as an interim network control, bind the WebSocket service to localhost instead of 0.0.0.0 and/or firewall the WebSocket port so only trusted clients can reach it, accepting that this breaks any legitimate remote clients. Do not attempt to 'sanitize' pickle input - there is no safe way to unpickle untrusted data; replace it with a safe serializer. Advisory reference: https://github.com/pipecat-ai/pipecat/security/advisories/GHSA-c2jg-5cp7-6wc7 .

Affected VersionsENISA

pipecat 0.0.41, < 0.0.94

Affected Packages

pypi pipecat-ai fix: 0.0.94
euvd pipecat_0_0_41 fix: 0.0.94

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Pipecat is an open-source Python framework for building real-time voice and multimodal conversational agents, using WebSocket transports to move audio frames between clients and the server. The affected component, LivekitFrameSerializer (src/pipecat/serializers/livekit.py, ~line 73), was an optional/undocumented adapter meant to translate between Pipecat audio frames and LiveKit's AudioFrame format; it was deprecated in 0.0.90 in favor of LiveKitTransport. The root cause is CWE-502 (Deserialization of Untrusted Data): Python's pickle.loads() reconstructs arbitrary objects and will invoke code paths (e.g. __reduce__) embedded in an attacker-crafted byte stream, so unpickling any network-controlled data is equivalent to arbitrary code execution. CPE cpe:2.3:a:pipecat-ai:pipecat:*:*:*:*:*:*:*:* identifies the affected package (pip: pipecat-ai).

Know when Pipecat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

When the non-default serializer is configured and network-exposed, unauthenticated attackers send pickle over WebSocket for trivial full-system RCE (PR:N, AC:L, C/I/A:H); config prerequisite limits real exposure but not base metrics.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 15:00 nvd
Patch available
Patch available
Apr 23, 2026 - 17:01 EUVD
CVE Published
Apr 23, 2026 - 14:40 nvd
CRITICAL 9.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Pipecat (versions 0.0.41-0.0.93) contains a remote code execution vulnerability in its optional LivekitFrameSerializer component that allows unauthenticated attackers to execute arbitrary code when the serializer is enabled. Organizations running affected versions with this component active face immediate risk of complete system compromise and unrestricted lateral movement capability within their infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 46% exploitable
Prevalence
Low
niche open-source voice-AI framework; vulnerable serializer non-default
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy