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.2%top 87%

CVE-2026-31250: n/a

0
High
VulnerabilityCVE-2026-31250cvecve-2026-31250
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 average_model.py model averaging tool. The script loads PyTorch checkpoint files (epoch_*.pt) for model averaging using torch.load() without enabling the weights_only=True security parameter. This allows the deserialization of arbitrary Python objects via the pickle module. An attacker can exploit this by providing malicious checkpoint files within a directory. When a victim uses the tool to average models from this directory, arbitrary code is executed on the victim's system.

CVSS v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

CosyVoice through commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e contains an insecure deserialization vulnerability (CWE-502) in average_model.py. The script loads PyTorch checkpoint files (epoch_*.pt) using torch.load() without the weights_only=True parameter, which is necessary to prevent deserialization of arbitrary Python objects via pickle. This allows an attacker to craft malicious checkpoint files that, when loaded by the tool during model averaging, execute arbitrary code on the victim's system. The vulnerability is remotely exploitable without privileges or user interaction and has a CVSS 3.1 score of 7.3 (high).

Potential Impact

Successful exploitation results in arbitrary code execution on the victim's system when the vulnerable model averaging tool loads malicious checkpoint files. This can lead to confidentiality, integrity, and availability impacts, including potential system compromise. 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, users should avoid loading untrusted or unauthenticated PyTorch checkpoint files with the average_model.py tool. Applying the weights_only=True parameter in torch.load() calls is recommended to mitigate the risk of arbitrary code execution.

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: 6a028781cbff5d86108b8f68

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

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

Last updated: 07/07/2026, 15:12:10 UTC

Views: 75

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