{"id":"CVE-2026-140281","state":"PUBLISHED","title":"GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model","description":"GPT-SoVITS through 20250606v2pro contains an unsafe deserialization vulnerability in the api.py /set_model endpoint that allows unauthenticated attackers to load arbitrary model checkpoints. Attackers can set gpt_model_path or sovits_model_path to a crafted pickle file readable by the server, triggering torch.load with weights_only=False to execute code as the server process user.","publishedAt":"2026-11-30T23:24:08.052Z","updatedAt":"2026-11-30T23:24:08.052Z","severity":{"score":9.2,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["RVC-Boss GPT-SoVITS"],"affected":[{"vendor":"RVC-Boss","product":"GPT-SoVITS","packageURL":"pkg:github/RVC-Boss/GPT-SoVITS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"20250606v2pro","versionType":"custom"}],"repo":"https://github.com/RVC-Boss/GPT-SoVITS"}],"references":["https://github.com/bilibili/GPT-SoVITS/issues/2879","https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155","https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377","https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040","https://github.com/RVC-Boss/GPT-SoVITS","https://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model"],"weaknesses":["CWE-502"],"ingestedAt":"2026-11-30T23:34:05.728Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/140xxx/CVE-2026-140281.json","commit":"6233d6226bc7e051298206d245205cc95c7a5148","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140281","state":"PUBLISHED","datePublished":"2026-11-30T23:24:08.052Z","dateUpdated":"2026-11-30T23:24:08.052Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-30T22:53:40.921Z"},"containers":{"cna":{"title":"GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model","descriptions":[{"lang":"en","value":"GPT-SoVITS through 20250606v2pro contains an unsafe deserialization vulnerability in the api.py /set_model endpoint that allows unauthenticated attackers to load arbitrary model checkpoints. Attackers can set gpt_model_path or sovits_model_path to a crafted pickle file readable by the server, triggering torch.load with weights_only=False to execute code as the server process user."}],"affected":[{"vendor":"RVC-Boss","product":"GPT-SoVITS","packageURL":"pkg:github/RVC-Boss/GPT-SoVITS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"20250606v2pro","versionType":"custom"}],"repo":"https://github.com/RVC-Boss/GPT-SoVITS"}],"references":[{"url":"https://github.com/bilibili/GPT-SoVITS/issues/2879","tags":["issue-tracking"]},{"url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155","tags":["technical-description"]},{"url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377","tags":["technical-description"]},{"url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040","tags":["technical-description"]},{"url":"https://github.com/RVC-Boss/GPT-SoVITS","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model","name":"VulnCheck Advisory: GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-30T23:24:08.052Z"},"datePublic":"2026-11-30T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:rvc-boss:gpt-sovits-webui:*:*:*:*:*:*:*:*","versionEndIncluding":"20250606v2pro"}]}]}],"credits":[{"lang":"en","value":"BlueRose","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}