Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

CVE-2026-140281

GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

RVC-Boss GPT-SoVITS

Default version status: unaffected

  • 0 to ≤ 20250606v2proaffected
pkg:github/RVC-Boss/GPT-SoVITS

References