CVE-2025-49840
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is an unsafe deserialization vulnerability in inferencewebui.py. The GPTdropdown variable takes user input and passes it to the changegptweights function. In changegptweights, 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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPTSoVITS/inferencewebui.py#L310, https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPTSoVITS/inferencewebui.py#L872, https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPTSoVITS/inferencewebui.py#L927, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49840.json, https://nvd.nist.gov/vuln/detail/CVE-2025-49840, https://securitylab.github.com/advisories/GHSL-2025-049GHSL-2025-053RVC-Boss_GPT-SoVITS/
