CVE-2026-140281: GPT-SoVITS Deserialization of Untrusted Data
Published 2026-12-01 · Updated 2026-12-01 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- Check the references below for the vendor's patched release of GPT-SoVITS and apply it.
- Until it is patched, do not leave GPT-SoVITS reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block untrusted serialized input to the affected endpoint at the proxy or WAF.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: Deserialization of Untrusted Data
The application rebuilds objects from attacker-supplied data, which frequently leads to arbitrary code execution.
Classified as CWE-502.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model
- Referencehttps://github.com/RVC-Boss/GPT-SoVITS
- Referencehttps://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040
- Referencehttps://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155
- Referencehttps://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377
- Referencehttps://github.com/bilibili/GPT-SoVITS/issues/2879