fishaudio/Bert-VITS2 Limited File Write in webui_preprocess.py generate_config function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| FishAudio | Bert-VITS2 | up to 2.3 | — | No fix listed | CNA |
- Bert-VITS2 VendorFishAudio Affected up to 2.3 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:fish.audio:bert-vits2:*:*:*:*:*:*:*:* | up to 2.3 | Vulnerable | Fish.audio |
- cpe:2.3:a:fish.audio:bert-vits2:*:*:*:*:*:*:*:* Versions up to 2.3 Vulnerable ·Fish.audio
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39688
References
Exploit 1
More FishAudio vulnerabilities
- TI-2024-26610 fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py bert_gen function CVSS 3.1CRITICAL 9.8
- TI-2024-26609 fishaudio/Bert-VITS2 Command Injection in webui_preprocess.py resample function CVSS 3.1CRITICAL 9.8
- TI-2026-07695 fishaudio Bert-VITS2 Gradio webui_preprocess.py generate_config path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-07694 fishaudio Bert-VITS2 Model hiyoriUI.py _get_all_models path traversal CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences