Skip to content
HighVulnerability

CVE-2026-140281: GPT-SoVITS unsafe deserialization in /set_model endpoint of api.py

Identifier
CVE-2026-140281
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

GPT-SoVITS through 20250606v2pro contains an unsafe deserialization flaw in the api.py /set_model endpoint, which unauthenticated attackers can reach. By setting gpt_model_path or sovits_model_path to a crafted pickle file readable by the server, an attacker triggers torch.load with weights_only=False and executes code as the server process user.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.