GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model
- State
- Published
- Severity
- 9.2 Critical
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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.
| Product | Versions |
|---|---|
| GPT-SoVITS RVC-Boss | 20250606v2pro and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
References
- https://github.com/bilibili/GPT-SoVITS/issues/2879Issue Tracker
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155Technical Details
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377Technical Details
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040Technical Details
- https://github.com/RVC-Boss/GPT-SoVITSProduct Page
- VulnCheck Advisory: GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_modelThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.