Unsafe deserialization in GPT-SoVITS allows remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
GPT-SoVITS through 20250606v2pro from RVC-Boss contains an unsafe deserialization flaw (CWE-502). The /set_model endpoint in api.py loads model checkpoints without safe checks. An unauthenticated remote attacker can set the model path to a crafted pickle file readable by the server, which runs code as the server process user.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for GPT-SoVITS.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Timeline
- 2026-11-30 Threatist record created from CVE-2026-140281
- 2026-12-01 Alias added: GHSA-v5f2-3jr7-gqg5
References
Other 5
- https://github.com/bilibili/GPT-SoVITS/issues/2879
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040
- https://github.com/RVC-Boss/GPT-SoVITS
More RVC-Boss vulnerabilities
- TI-2026-45353 GPT-SoVITS 20250606v2pro OS Command Injection via webui.py CVSS 4.0CRITICAL 9.3
- TI-2025-31755 GHSL-2025-052: GPT-SoVITS Deserialization of Untrusted Data vulnerability CVSS 4.0HIGH 8.9
- TI-2025-43903 OS command injection in GPT-SoVITS UVR5 output folder paths CVSS 4.0CRITICAL 9.3
- TI-2025-31751 GHSL-2025-048: GPT-SoVITS Command Injection vulnerability CVSS 4.0HIGH 8.9
- TI-2025-31750 GHSL-2025-047: GPT-SoVITS Command Injection vulnerability CVSS 4.0HIGH 8.9
- TI-2025-31749 GHSL-2025-046: GPT-SoVITS Command Injection vulnerability CVSS 4.0HIGH 8.9
Sources
- CVE-2026-140281 · CVE Program
- CVE-2026-140281 · NVD
- GHSA-v5f2-3jr7-gqg5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences