Description
GPT-SoVITS-WebUI is a voice conversion and text-to-speech webUI. In versions 20250228v3 and prior, there is a command injection vulnerability in webui.py open_asr function. asr_inp_dir (and a number of other variables) takes user input, which is passed to the open_asr function, which concatenates the user input into a command and runs it on the server, leading to arbitrary command execution. At time of publication, no known patched versions are available.
Problem types
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Product status
References
securitylab.github.com/...GHSL-2025-048_RVC-Boss_GPT-SoVITS/
github.com/...882d64f474b3563fa91adc1a679436ae9c3b8/webui.py
github.com/...882d64f474b3563fa91adc1a679436ae9c3b8/webui.py
github.com/...882d64f474b3563fa91adc1a679436ae9c3b8/webui.py
github.com/...882d64f474b3563fa91adc1a679436ae9c3b8/webui.py