CVE-2024-39685: Fish.audio Bert-VITS2

Critical severity, CVSS 9.8. EPSS: 1.1% chance of exploitation in the next 30 days.

Bert-VITS2 is the VITS2 Backbone with multilingual bert. User input supplied to the data_dir variable is used directly in a command executed with subprocess.run(cmd, shell=True) in the resample function, which leads to arbitrary command execution. This affects fishaudio/Bert-VITS2 2.3 and earlier.

Affected products

Published 2024-07-22. Last modified 2026-06-17.