Skip to content

An editorial team and a community building with AI

← All articles

News · GPT-SoVITS (open-source project) · 2 min read

Event date: · Published:

Critical unauthenticated RCE flaw disclosed in GPT-SoVITS voice tool

A GitHub Security Advisory discloses CVE-2026-140281, a critical, unauthenticated remote code execution vulnerability in the open-source voice tool GPT-SoVITS.

GitHub Security Advisories disclosed on December 1, 2026 a critical, unauthenticated remote code execution vulnerability in GPT-SoVITS, a widely used open-source voice-cloning and text-to-speech tool. The issue is tracked as CVE-2026-140281 in the GitHub Security Advisory and allows attackers to execute arbitrary code through the tool's model-loading API without any authentication.

What the advisory discloses

  • Tracked as CVE-2026-140281, published December 1, 2026
  • Affects GPT-SoVITS through build 20250606v2pro
  • Rated Critical, with CVSS scores of 8.1 (v3.1) and 9.2 (v4.0)
  • The vulnerable endpoint is /set_model in api.py
  • Attackers pass malicious pickle files through the gpt_model_path or sovits_model_path parameters, which torch.load() executes without weights_only protection
  • No authentication is required, so a successful attack grants arbitrary code execution with the server process's privileges

What it means for people building with AI

GPT-SoVITS is popular among creators and developers who use it for voice cloning and text-to-speech projects, which means many self-hosted instances could be exposed to this flaw. Because the vulnerability sits in an unauthenticated endpoint and requires no user interaction, anyone running an exposed instance risks having the server fully compromised, with code executing at the same privilege level as the GPT-SoVITS process. Teams that build on top of open-source AI tooling should treat this as a reminder to review which services are exposed to the network and how model files are loaded.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Critical unauthenticated RCE flaw disclosed in GPT-SoVITS voice tool | vibecoding.inc