Paper/Archive/CVE-2026-140281

CVE-2026-140281

RVC-Boss GPT-SoVITS — GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model

Description · from the CVE record

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

ProductAffectedFixed inSource
GPT-SoVITS≤ 20250606v2pro–CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refgithub.com/bilibili/GPT-SoVITS/issues/2879writeupgithub.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155writeupgithub.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377writeupgithub.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040refgithub.com/RVC-Boss/GPT-SoVITSwriteupvulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model