GHSL-2025-049: GPT-SoVITS Deserialization of Untrusted Data vulnerability
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is an unsafe deserialization vulnerability in vr.py AudioPre. The model_choose variable takes user input (e.g. a path to a model) and passes it to the uvr function. In uvr, a new instance of AudioPre class is created with the model_path attribute containing the aforementioned user input (here called locally model_name). Note that in this step the .pth extension is added to the path. In the AudioPre class, the user input, here called model_path, is used to load the model on that path with torch.load, which can lead to unsafe deserialization. At time of publication, no known patched versions are available.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-49837
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:10 UTC · Revision 1
Source evidence
GHSL-2025-049: GPT-SoVITS Deserialization of Untrusted Data vulnerability
core-osv · Original sourcePublished 15 Jul 2025, 20:34 UTC
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is an unsafe deserialization vulnerability in vr.py AudioPre. The model_choose variable takes user input (e.g. a path to a model) and passes it to the uvr function. In uvr, a new instance of AudioPre class is created with the model_path attribute containing the aforementioned user input (here called locally model_name). Note that in this step the .pth extension is added to the path. In the AudioPre class, the user input, here called model_path, is used to load the model on that path with torch.load, which can lead to unsafe deserialization. At time of publication, no known patched versions are available.
osv:CVE-2025-49837
Complete source record
{
"id": "efa6ecdbbc7849c87a67982139b41e54a5a6219ca05a7429fafb4a3dd40d9121",
"url": "https://osv.dev/vulnerability/CVE-2025-49837",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "GHSL-2025-049: GPT-SoVITS Deserialization of Untrusted Data vulnerability",
"summary": "GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is an unsafe deserialization vulnerability in vr.py AudioPre. The model_choose variable takes user input (e.g. a path to a model) and passes it to the uvr function. In uvr, a new instance of AudioPre class is created with the model_path attribute containing the aforementioned user input (here called locally model_name). Note that in this step the .pth extension is added to the path. In the AudioPre class, the user input, here called model_path, is used to load the model on that path with torch.load, which can lead to unsafe deserialization. At time of publication, no known patched versions are available.",
"evidence": "osv:CVE-2025-49837",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-49837",
"aliases": [
"CVE-2025-49837"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rvc-boss/gpt-sovits",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "4fd57b0ea776d396f202e13be180b4c02e4dd957"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "20250228v3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:rvc-boss:gpt-sovits-webui:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "20250228v3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"20250228v3",
"20240821v2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49837.json"
}
}
],
"modified": "2026-10-28T02:30:52.490651394Z",
"provider": "osv",
"references": [
"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/tools/uvr5/vr.py#L32",
"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/tools/uvr5/webui.py#L157",
"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/tools/uvr5/webui.py#L192-L205",
"https://github.com/RVC-Boss/GPT-SoVITS/blob/165882d64f474b3563fa91adc1a679436ae9c3b8/tools/uvr5/webui.py#L64-L70",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49837.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-49837",
"https://securitylab.github.com/advisories/GHSL-2025-049_GHSL-2025-053_RVC-Boss_GPT-SoVITS/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-502"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49837.json"
}
},
"related_cves": [
{
"value": "CVE-2025-49837",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521222,
"published_at": "2025-07-15T20:34:47.287+00:00"
}