{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-39688","published":"2024-07-22T16:15:03.883000Z","last_modified":"2026-06-17T07:42:28.523000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:fish.audio:bert-vits2:*:*:*:*:*:*:*:*","part":"a","vendor":"fish.audio","product":"bert-vits2","version_end_including":"2.3"}],"cpes_truncated":false,"vendors":["fish.audio"],"products":["fish.audio/bert-vits2"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00698,"percentile":0.48653,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2024-39688/","html_en":"/en/cve/CVE-2024-39688/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-39688","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-39688"},"untrusted":{"vendor_name":"Fish.audio","product_name":"Bert-vits2","desc_en":"Bert-VITS2 is the VITS2 Backbone with multilingual bert. User input supplied to the data_dir variable is concatenated with other folders and used to open a new file in the generate_config function, which leads to a limited file write. The issue allows for writing /config/config.json file in arbitrary directory on the server. If a given directory path doesn’t exist, the application will return an error, so this vulnerability could also be used to gain information about existing directories on the server. This affects fishaudio/Bert-VITS2 2.3 and earlier.","affected":[{"untrusted_vendor":"FishAudio","untrusted_product":"Bert-VITS2","versions":[]}],"references":[{"url":"https://github.com/fishaudio/Bert-VITS2/blob/76653b5b6d657143721df2ed6c5c246b4b1d9277/webui_preprocess.py#L130-L133","tags":["Issue Tracking"]},{"url":"https://github.com/fishaudio/Bert-VITS2/blob/76653b5b6d657143721df2ed6c5c246b4b1d9277/webui_preprocess.py#L34","tags":["Issue Tracking"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-045_GHSL-2024-047_fishaudio_Bert-VITS2/","tags":["Exploit","Third Party Advisory"]}]}}