CVE-2026-140281
Unauthenticated unsafe deserialization in GPT-SoVITS /set_model
- CVSS 4.0
- 9.2 critical
- EPSS
- —
- Published
- ·
- Modified
GPT-SoVITS through 20250606v2pro unsafely deserializes model checkpoints in the api.py /set_model endpoint. An unauthenticated network attacker who can set gpt_model_path or sovits_model_path to a crafted pickle file the server can read causes torch.load (weights_only=False) to run. Code executes as the server process user. Installations that expose this endpoint are affected.
What to do: No fixed version is stated. Apply the GPT-SoVITS update for CVE-2026-140281 when one is published.
| Product | Affected |
|---|---|
| GPT-SoVITS | through 20250606v2pro |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-502
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news
0 storiesNo ingested article mentions this CVE yet.