CVE-2025-49840CWE-502

GHSL-2025-052: GPT-SoVITS Deserialization of Untrusted Data vulnerability

High · published July 15, 2025

CVSS v4.0
8.9
EPSS
1%
Percentile
54.7
In the wild
Unconfirmed
What it is

⚡ An unsafe deserialization flaw lurking in GPT-SoVITS-WebUI could let attackers load malicious models without breaking a sweat! 😱 Think of it as a restaurant where customers can slip in their own recipes. If the chef isn't careful, they might cook up something toxic instead of your favorite dish! 🍽️ An attacker could exploit this vulnerability to execute arbitrary code on the server, leading to potentially devastating consequences such as data loss or service disruption. This could turn your trusted voice conversion service into a malicious playground!

Put simply

Think of it as a restaurant where customers can slip in their own recipes. If the chef isn't careful, they might cook up something toxic instead of your favorite dish! 🍽️ The flaw exists in the inference_webui.py file, specifically where user input in the GPT_dropdown variable is passed to the change_gpt_weights function, allowing untrusted input to be deserialized. This opens the door for executing unwanted code via torch.load.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, leading to potentially devastating consequences such as data loss or service disruption. This could turn your trusted voice conversion service into a malicious playground! Since no patched versions are available, it's crucial to implement proper input validation to sanitize user inputs before they reach the deserialization process. Additionally, consider restricting access to the webUI until this issue can be fully resolved. 🔒 You’ve got this! By staying informed and proactive, you can turn this situation around and keep your application safe! 🛡️

The record
Technical detail
CVSS v4.0
8.9 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
EPSS
0.00758 · 54.7th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-07-15T20:42Z
EPSS history
Timeline
  • 15 JUL 20:42Z
    GHSL-2025-052: GPT-SoVITS Deserialization of Untrusted Data vulnerability
    cvelistv5