SWivid F5-TTS
- <= 1.1.20
A path traversal vulnerability has been identified in F5-TTS versions through 1.1.20. This vulnerability resides within the finetune Gradio handlers, where unsanitized user-supplied project names are directly passed to 'os.path.join()'. The lack of validation allows unauthenticated attackers to manipulate the resulting path, potentially escaping the intended base directory. Exploitation involves supplying absolute path arguments to create arbitrary directories and write attacker-controlled JSON content to any filesystem location writable by the server process.
Exploitation of this vulnerability allows for arbitrary directory creation and fixed-name file writing outside the intended project directories, potentially overwriting existing files.
The vulnerability can be reproduced by creating a Gradio application that calls the 'create_data_project' and 'save_settings' functions from the 'finetune_gradio' module. Project names can be crafted to include absolute paths, which will be accepted by the application and used to create directories and files outside the designated base directories.
Users are advised to update to F5-TTS version 1.1.21 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.