{"id":"CVE-2026-31252","published":"2026-05-11T00:00:00Z","modified":"2026-05-12T19:27:25Z","title":"CosyVoice thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserialization…","vendor":null,"product":null,"tier":"tail","description":{"text":"CosyVoice thru commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e (2025-30-21) contains an insecure deserialization vulnerability (CWE-502) in its model loading component. The framework uses torch.load() to load model weight files (e.g., llm.pt, flow.pt, hift.pt) without enabling 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 malicious model directory containing specially crafted model files. When a victim starts the CosyVoice Web UI pointing to this directory, arbitrary code is executed on the victim's system during the model loading process.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00112,"percentile":0.01403,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/FunAudioLLM/CosyVoice","tags":[]},{"url":"https://www.notion.so/CVE-2026-31252-35d1e139318881ef8acfcd877a432569","tags":[]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.28},{"name":"CVSS severity","points":3.99}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-12T19:24:23.423168Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29099","exploited":false,"provenance":"source"}}