CVE-2026-31232: The CosyVoice project thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserializa
Summary
The CosyVoice project has an insecure deserialization vulnerability (CWE-502, a weakness where untrusted data is converted back into executable objects) in how it loads model files. When users load model files (.pt files, which are PyTorch model formats) from a directory they specify, the code uses torch.load() without security protections, allowing attackers to execute arbitrary code by hiding malicious instructions in crafted model files that get executed when loaded.
Vulnerability Details
EPSS: 0.0%
May 12, 2026
Classification
Affected Vendors
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-31232
First tracked: May 12, 2026 at 08:09 PM
Classified by LLM (prompt v3) · confidence: 95%