CVE-2026-31232
Last modified
CVE-2026-31232 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The CosyVoice project thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserialization vulnerability (CWE-502) in its model loading process. When loading model files (.pt) from a user-specified directory (via the --model_dir argument), the code uses torch.load() without the security-restrictive weights_only=True parameter. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
The CosyVoice project thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserialization vulnerability (CWE-502) in its model loading process. When loading model files (.pt) from a user-specified directory (via the --model_dir argument), the code uses torch.load() without the security-restrictive weights_only=True parameter. This allows the deserialization of arbitrary Python objects via the Pickle module. An attacker can exploit this by providing a maliciously crafted model directory containing .pt files with embedded pickle payloads. When a victim loads this directory using CosyVoice's web interface, the malicious payload is executed, leading to remote code execution on the victim's system.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | n/a |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-31232?
How severe is CVE-2026-31232?
How do I fix CVE-2026-31232?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31225The superduper project thru v0.10.0 contains a critical remo…8.8
- CVE-2026-31226The TinyZero project thru commit 6652a63c57fa7e5ccde3fc9c598…9.8
- CVE-2026-31228The Adversarial Robustness Toolbox (ART) thru 1.20.1 contain…9.8
- CVE-2026-31229The Adversarial Robustness Toolbox (ART) thru 1.20.1 contain…9.8
- CVE-2026-31230The Adversarial Robustness Toolbox (ART) thru 1.20.1 contain…9.8
- CVE-2026-31231Cognee thru v0.4.0 contains a critical remote code execution…9.8
- CVE-2026-31233Guardrails AI thru 0.6.7 contains a code injection vulnerabi…9.8
- CVE-2026-31234Horovod thru 0.28.1 contains an insecure deserialization vul…9.8
- CVE-2026-31235The imgaug library thru 0.4.0 contains an insecure deseriali…9.8
- CVE-2026-31236The llm CLI tool thru 0.27.1 contains a critical code inject…9.8
- CVE-2026-31237The Ludwig framework thru 0.10.4 is vulnerable to insecure d…9.8
- CVE-2026-31238The Ludwig framework thru 0.10.4 is vulnerable to insecure d…9.8
Are you affected by CVE-2026-31232?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
