Skip to content
HighVulnerability

CVE-2026-31249: CosyVoice insecure deserialization in make_parquet_list.py via torch.load

Identifier
CVE-2026-31249
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CosyVoice, up to commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21), has an insecure deserialization flaw (CWE-502) in its make_parquet_list.py data processing tool. The script calls torch.load() on PyTorch .pt files without weights_only=True, so arbitrary Python objects are deserialized through the pickle module. An attacker who supplies malicious .pt files in a data directory gains code execution when a victim processes that directory with the tool.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.