{"id":"CVE-2026-140281","summary":"GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model","details":"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.","modified":"2026-12-01T01:00:10.166741413Z","published":"2026-11-30T23:24:08.052Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140281.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-502"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140281.json"},{"type":"PACKAGE","url":"https://github.com/RVC-Boss/GPT-SoVITS"},{"type":"ARTICLE","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040"},{"type":"ARTICLE","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155"},{"type":"ARTICLE","url":"https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377"},{"type":"REPORT","url":"https://github.com/bilibili/GPT-SoVITS/issues/2879"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140281"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rvc-boss/gpt-sovits","events":[{"introduced":"0"},{"last_affected":"d7c2210da8c013e81a94bfc7b811a477c99fd506"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"20250606v2pro"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["20250606v2pro","20250422v4","20250228v3","20240821v2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140281.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}