{"id":"CVE-2025-49840","summary":"GHSL-2025-052: GPT-SoVITS Deserialization of Untrusted Data vulnerability","details":"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.","modified":"2026-08-12T03:51:16.534469431Z","published":"2025-07-15T20:42:09.931Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49840.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-502"]},"references":[{"type":"WEB","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPT_SoVITS/inference_webui.py#L310"},{"type":"WEB","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPT_SoVITS/inference_webui.py#L872"},{"type":"WEB","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/GPT_SoVITS/inference_webui.py#L927"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49840.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49840"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2025-049_GHSL-2025-053_RVC-Boss_GPT-SoVITS/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rvc-boss/gpt-sovits","events":[{"introduced":"0"},{"last_affected":"4fd57b0ea776d396f202e13be180b4c02e4dd957"}],"database_specific":{"cpe":"cpe:2.3:a:rvc-boss:gpt-sovits-webui:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"20250228v3"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["20250228v3","20240821v2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49840.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}