GHSL-2025-049_GHSL-2025-053: Remote Code Execution (RCE) in GPT-SoVITS - CVE-2025-49837, CVE-2025-49838, CVE-2025-49839, CVE-2025-49840, CVE-2025-49841
GPT-SoVITS passes user-supplied model paths to torch.load, which can deserialise untrusted data. An attacker could supply a malicious model file to execute arbitrary code.
Originally disclosed on GitHub Security Lab
GPT-SoVITS is vulnerable to multiple unsafe deserializations, which lead to remote code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The issue can lead to remote code execution.
What the attacker needed
Ability to supply a model path; malicious model file
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The application lets a user choose a model file by path, then loads it with a Python function that can run code embedded in the file. If an attacker can make the application load their file, they can run their own commands on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.