Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .pt with pickle payload
-
DeliveryPlant file in shared/public dataset
-
ExploitVictim runs make_parquet_list.py
-
Executiontorch.load() unpickles untrusted object
-
ImpactArbitrary code executes as victim user
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 | Exploitation requires that a victim run the make_parquet_list.py data-preparation tool over a data directory that contains an attacker-controlled .pt file (utterance embedding, speaker embedding, or speech token file); the enabling condition is that torch.load() is called without weights_only=True. Limiting factors: the attacker must first get a malicious .pt file into a directory the victim processes (e.g., a shared or downloaded dataset), and a human must actually invoke the offline preprocessing tool - this is not a running network service, so despite the CVSS AV:N/PR:N/UI:N rating, realistic exploitation depends on untrusted-data ingestion and user action rather than default remote reachability. |
| Impact | The signals are mixed and lean toward moderate, targeted risk rather than mass exploitation. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:L/I:L/A:L = 7.3) rates it network, no-auth, no-interaction - but this is inconsistent with the described mechanism, which requires a victim to obtain a malicious .pt file and voluntarily run the tool against it; realistically this is closer to AV:L with user interaction, and the L/L/L impact understates that successful exploitation yields full code execution. SSVC aligns with lower urgency: Exploitation=none (no observed attacks), Automatable=yes (pickle payloads are trivially reusable), Technical Impact=partial. EPSS is very low (0.02%), and there is no KEV listing and no public exploit identified at time of analysis. Net: a real and reliable code-execution primitive for anyone who can plant files in a processed data directory (e.g., poisoned public datasets), but not a broadly wormable, internet-facing threat - prioritize for teams that ingest third-party training/voice data, deprioritize otherwise. Verify the vector with the vendor: CVSS says network/no-interaction, the description implies local file processing with user action. |
| Exploit ScenarioDerived | An attacker publishes a seemingly legitimate CosyVoice voice/embedding dataset (or contributes .pt files to a shared corpus) containing a malicious pickle payload in an utterance or speaker embedding file. A researcher or ML engineer downloads the dataset and runs make_parquet_list.py to build a training manifest; torch.load() unpickles the crafted file and executes the attacker's code with that user's privileges. No public exploit is identified at time of analysis, but pickle-based RCE payloads are trivial to construct and reuse (SSVC Automatable=yes). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Arbitrary code execution in CosyVoice (FunAudioLLM's multilingual text-to-speech toolkit) through commit 6e01309 allows an attacker to run code on a victim's machine via a malicious PyTorch .pt file. The vulnerability lives in the make_parquet_list.py data-preparation tool, which calls torch.load() without weights_only=True, so any .pt file it ingests can carry a malicious pickle payload that executes when the victim processes an attacker-supplied data directory. Reported by MITRE with a low EPSS (0.02%, 5th percentile) and no public exploit identified at time of analysis; this is a poisoned-input/supply-chain style flaw rather than a remotely reachable network service.
RemediationAI
No vendor-released patched version is identified at time of analysis (affected versions are 'n/a' in EUVD/NVD and no fix commit is cited). The direct code-level fix is to change the torch.load() calls in make_parquet_list.py to pass weights_only=True so only tensors/primitives are deserialized; teams running from source can apply this one-line change themselves after checking that all loaded .pt files are plain tensors (weights_only can break loading of legitimately pickled non-tensor objects, so validate before rolling out). As a compensating control, only process .pt datasets from trusted, integrity-verified sources - never run make_parquet_list.py over downloaded or third-party data directories, and where feasible run the tool in a sandboxed/containerized, network-isolated account with no credentials so any executed payload is contained. Track the upstream repo (https://github.com/FunAudioLLM/CosyVoice) for an official fix and monitor the advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-31249.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CosyVoice is a PyTorch-based speech/TTS toolkit that stores utterance embeddings, speaker embeddings, and speech tokens as serialized .pt tensor files. The root cause is CWE-502 (Deserialization of Untrusted Data): PyTorch's torch.load() defaults to the Python pickle module, which reconstructs arbitrary objects and invokes their __reduce__ methods during unpickling, enabling code execution. Passing weights_only=True restricts loading to plain tensors/primitives and is the documented mitigation; make_parquet_list.py omits it, so it will faithfully execute any pickle opcodes embedded in the .pt files it reads. The affected component is a data-processing/training-prep utility, not the inference server, meaning exposure depends on someone running the tool over untrusted data.
Know when Python 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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Exploitation needs a victim to locally run the tool over an attacker-supplied file, so AV:L and UI:R; pickle deserialization yields full code execution, hence C/I/A:H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
CosyVoice thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserialization vulnerability (CWE-502) in its make_parquet_list.py data processing tool. The script loads PyTorch .pt files (utterance embeddings, speaker embeddings, speech tokens) using torch.load() without enabling the weights_only=True security parameter. This allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing malicious .pt files within a data directory. When a victim processes this directory using the tool, arbitrary code is executed on the victim's system.
Executive ViewAI
CosyVoice (FunAudioLLM's multilingual text-to-speech toolkit) contains an arbitrary code execution vulnerability (CVSS 7.3) triggered when processing untrusted PyTorch model files through its data-preparation pipeline. ML and AI development teams using FunAudioLLM face direct compromise of development environments if poisoned models are processed, creating a realistic supply-chain attack vector. Although current exploitation probability remains minimal (EPSS 0.02%) with no public exploit identified, the vulnerability demands immediate containment given the severity of code execution on developer infrastructure.
Restrict make_parquet_list.py execution to isolated, air-gapped development systems with no production or credential access; enforce validation of .pt file provenance before processing; implement containerized, sandboxed execution environments for all third-party model file ingestion with restricted system calls; deploy file-integrity monitoring on all consumed .pt files; enable logging on torch.load() operations to enable retrospective investigation if compromise is suspected.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-29096
GHSA-jj3w-p9wg-m6hq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB