# CVE-2026-140281: GPT-SoVITS through 20250606v2pro Unsafe Deserialization via api.py /set_model

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-11-30T23:24:08.052Z
- Modified: 2026-12-01T15:17:55.757Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- RVC-Boss GPT-SoVITS: up to 20250606v2pro

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/bilibili/GPT-SoVITS/issues/2879> (issue-tracking)
- <https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1142-L1155> (technical-description)
- <https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L376-L377> (technical-description)
- <https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040> (technical-description)
- <https://github.com/RVC-Boss/GPT-SoVITS> (product)
- <https://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-140281](https://www.cve.org/CVERecord?id=CVE-2026-140281), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140281](https://nvd.nist.gov/vuln/detail/CVE-2026-140281), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140281 · Whole record: https://cve.day/CVE-2026-140281.json · Rebuilt by cve.day 2026-12-01T15:32:13.890Z
