CVE-2026-140281
8.1HighPublished Dec 1, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-502
What an attacker gets
Unauthenticated attackers can execute arbitrary code as the server user. They achieve this by sending a crafted pickle file to the /set_model endpoint.
Root cause
The application uses torch.load with weights_only=False on user-supplied model paths, leading to unsafe deserialization.
Affected versions
GPT-SoVITS through 20250606v2pro
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 20250606v2pro if available, or disable the /set_model API endpoint immediately to prevent exploitation.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/RVC-Boss/GPT-SoVITS
- https://github.com/RVC-Boss/GPT-SoVITS/blob/d7c2210da8c013e81a94bfc7b811a477c99fd506/api.py#L1040
- 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/bilibili/GPT-SoVITS/issues/2879
- https://www.vulncheck.com/advisories/gpt-sovits-through-20250606v2pro-unsafe-deserialization-via-api-py-set-model
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-909589.1CriticalUnauthenticated attackers can brute-force user passwords via SMB without triggering account lockouts. This bypasses Kerberos-based lockout policies when AD-trust is enabled.
- CVE-2026-1401027.5HighUnauthenticated attackers can crash your Node.js gateway process by sending a specific Upgrade request. This leads to a denial of service for the entire application.
- CVE-2026-1400979.1CriticalUnauthenticated attackers can execute arbitrary code or read local files on your development server. This happens when the dev server is exposed to the network, allowing attackers to inject malicious module identifiers.
- CVE-2026-1400958.7HighUnauthenticated attackers can cause a denial of service by crashing the Python process. They trigger this by providing a crafted version string that forces the application into super-quadratic backtracking.
- CVE-2026-1398637.3HighRemote unauthenticated attackers can execute arbitrary SQL commands via the fetchProductImageUrl.php script. This allows them to read, modify, or delete data from the application database.
- CVE-2026-1398627.3HighRemote attackers can execute arbitrary SQL queries to read or modify database contents. This requires no authentication and targets the categoriesId parameter.