CVE-2026-140281: GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model

Published Nov 30, 2026
·
Updated

GPT-SoVITS through 20250606v2pro contains an unsafe deserialization vulnerability in the api.py /setmodel endpoint that allows unauthenticated attackers to load arbitrary model checkpoints. Attackers can set gptmodelpath or sovitsmodelpath to a crafted pickle file readable by the server, triggering torch.load with weightsonly=False to execute code as the server process user.

Affected Software

1 affected component
GPT-SoVITS GPT-SoVITS<=20250606v2pro

Event History

Nov 30, 2026
CVE Published
via MITRE·11:24 PM
Data Sourced
via MITRE·11:24 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker be able to do to exploit this issue?

An attacker must be able to reach the api.py /set_model endpoint and provide a gpt_model_path or sovits_model_path that points to a crafted pickle file readable by the server. No authentication or user interaction is required, but exploitation has high attack complexity because the malicious file must be accessible to the server process.

2

What level of access can successful exploitation provide?

Successful exploitation can execute code as the user account running the GPT-SoVITS server process. The reported impact includes compromise of confidentiality, integrity, and availability.

3

How can I determine whether my deployment is affected?

Check whether the deployment is GPT-SoVITS 20250606v2pro or earlier and exposes the api.py /set_model endpoint. Affected code passes attacker-controlled model paths to torch.load with weights_only=False.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203