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 88%

CVE-2026-31251: n/a

0
High
VulnerabilityCVE-2026-31251cvecve-2026-31251
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 gRPC server component. When the server starts, it loads the speech synthesis model from a user-specified directory 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 model files within a directory. When a victim starts the gRPC server pointing to this directory, arbitrary code is executed on the victim's system during server initialization.

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:59 UTC

Technical Analysis

CosyVoice versions through commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e contain an insecure deserialization vulnerability (CWE-502) in their gRPC server. The server loads speech synthesis models using torch.load() without restricting deserialization to weights only, enabling arbitrary code execution through crafted model files. This occurs during server initialization when the model is loaded from a user-specified directory. The vulnerability allows remote attackers to execute arbitrary code without authentication or user interaction.

Potential Impact

Successful exploitation results in arbitrary code execution on the victim's system during server startup, potentially compromising confidentiality, integrity, and availability. The CVSS vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability at a low level.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid starting the gRPC server with model files from untrusted directories. Restrict access to directories used for model loading and monitor for suspicious files. Do not run the server with elevated privileges to limit potential impact.

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

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

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

Last updated: 07/01/2026, 22:05:25 UTC

Views: 77

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