Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-31252: n/a

0
Medium
VulnerabilityCVE-2026-31252cvecve-2026-31252
Published: 05/11/2026 (05/11/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

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.

CVSS v3.1

Score 5.7medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 10:28:23 UTC

Technical Analysis

CosyVoice through commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e contains an insecure deserialization vulnerability (CWE-502) in its model loading component. The framework uses torch.load() to load model weight files without enabling the weights_only=True parameter, which restricts deserialization to tensor weights only. This omission allows 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 the victim starts the CosyVoice Web UI pointing to this directory, arbitrary code execution occurs during model loading. The CVSS 3.1 vector is AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L, indicating local attack vector, low attack complexity, low privileges required, user interaction required, scope changed, and low impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation results in arbitrary code execution on the victim's system during the model loading process, potentially compromising confidentiality, integrity, and availability to a limited extent. The attack requires local access and user interaction to load the malicious model directory. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading model files from untrusted or unauthenticated sources. Consider manually inspecting or sandboxing model loading operations to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a028781cbff5d86108b8f70

Added to database: 05/12/2026, 01:50:57 UTC

Last enriched: 05/19/2026, 10:28:23 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses