{"id":"CVE-2024-39685","aliases":["CVE-2024-39685"],"related":[],"kind":"vulnerability","state":"published","title":"fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py resample function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Bert-VITS2 es la columna vertebral de VITS2 con bert multilingüe. La entrada del usuario proporcionada a la variable data_dir se usa directamente en un comando ejecutado con subprocess.run(cmd, shell=True) en la función resample, lo que conduce a la ejecución de un comando arbitrario. Esto afecta a fishaudio/Bert-VITS2 2.3 y versiones anteriores.","source":"nvd"}],"published":"2024-07-22T15:13:06.926Z","modified":"2026-06-17T07:42:28.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"<= 2.3","status":"affected"}],"vendor":"FishAudio","product":"Bert-VITS2","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.3","status":"affected"}],"vendor":"fishaudio","product":"bert-vits2","cpe":"cpe:2.3:a:fishaudio:bert-vits2:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.3"}],"vendor":"fish.audio","product":"bert-vits2","cpe":"cpe:2.3:a:fish.audio:bert-vits2:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-045_GHSL-2024-047_fishaudio_Bert-VITS2/","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fishaudio/Bert-VITS2/blob/3f8c537f4aeb281df3fb3c455eed9a1b64871a81/webui_preprocess.py#L46-L52","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fishaudio/Bert-VITS2/blob/76653b5b6d657143721df2ed6c5c246b4b1d9277/webui_preprocess.py#L130-L133","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-07-22T16:02:26.443Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39685","url":"https://www.cve.org/CVERecord?id=CVE-2024-39685","licence":"CVE Terms of Use","modified":"2024-08-02T04:26:15.950Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39685","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39685","licence":"Public domain","modified":"2026-06-17T07:42:28.173Z"}],"updatedAt":"2026-11-25T22:58:43.150Z","epss":{"score":0.01116,"percentile":0.67007,"date":"2026-12-01T12:00:22.000Z"}}