PT-2026-164436
CVE-2026-140281
·
Published
2026-11-30
·
Updated
2026-12-01
Description by
CVSS 3.1
8.1
HighMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
GPT-SoVITS versions prior to 20250606v2pro
Description
An unsafe deserialization issue exists in the
/set model endpoint within api.py. Unauthenticated attackers can load arbitrary model checkpoints by setting the gpt model path or sovits model path variables to a crafted pickle file readable by the server. This triggers the torch.load() function with weights only=False, allowing the execution of arbitrary code with the privileges of the server process user.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Isolate affected APIs from untrusted networks and allow only trusted callers and checkpoints.
Restrict access to the
/set model endpoint to minimize the risk of exploitation. Found an issue in the description? Have something to add? Feel free to write us 👾