CVE-2024-39686: Fishaudio Bert-VITS2

Critical severity, CVSS 9.8. EPSS: 1.2% 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 bert_gen function, which leads to arbitrary command execution. This affects fishaudio/Bert-VITS2 2.3 and earlier.

Affected products

  • Fishaudio Bert-VITS2: up to and including 2.3

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