CVE-2025-49840
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-15

Last updated on: 2025-07-30

Assigner: GitHub, Inc.

Description
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is an unsafe deserialization vulnerability in inference_webui.py. The GPT_dropdown variable takes user input and passes it to the change_gpt_weights function. In change_gpt_weights, the user input, here gpt_path is used to load a model with torch.load, leading to unsafe deserialization. At time of publication, no known patched versions are available.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-15
Last Modified
2025-07-30
Generated
2026-05-07
AI Q&A
2025-07-15
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
rvc-boss gpt-sovits-webui to 20250228v3 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an unsafe deserialization issue in GPT-SoVITS-WebUI versions 20250228v3 and prior. The application takes user input through the GPT_dropdown variable and passes it to the change_gpt_weights function. Inside this function, the user input (gpt_path) is used with torch.load to load a model. Because torch.load deserializes the input without proper validation, an attacker can exploit this to execute arbitrary code or cause other malicious effects.


How can this vulnerability impact me? :

This vulnerability can allow an attacker to execute arbitrary code on the system running GPT-SoVITS-WebUI without any user interaction or privileges. This can lead to full system compromise, data theft, or disruption of service.


What immediate steps should I take to mitigate this vulnerability?

Since no patched versions are available at the time of publication, immediate mitigation steps include restricting or sanitizing user input to the GPT_dropdown variable to prevent unsafe deserialization, disabling or limiting the use of the change_gpt_weights function if possible, and monitoring for any suspicious activity related to model loading via torch.load. Additionally, consider isolating the affected service to reduce potential impact.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart