GHSL-2025-045_GHSL-2025-048: Command injection in GPT-SoVITS - CVE-2025-49833, CVE-2025-49834, CVE-2025-49835, CVE-2025-49836
GPT-SoVITS web UI passes user-supplied input into shell commands without sanitisation, allowing an attacker to execute arbitrary commands on the server. The report details four separate command injection vulnerabilities in different functions.
Originally disclosed on GitHub Security Lab
sliceoptroot and slice-inp-path takes user input, which is passed to the openslice function, which concatenates the user input into a command and runs it on the server, leading to arbitrary command 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
This issue may lead to arbitrary command execution.
What the attacker needed
Access to the web UI
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 web interface of GPT-SoVITS takes text from users and uses it to build system commands. Because it does not check for special characters, a user can include extra commands that the server will run. This lets an attacker run their own programs 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.