Intel

AIKIDO-2026-201353

f5-tts is vulnerable to Path Traversal

Path TraversalCVE-2026-43624 Published Jul 20, 2026

82

High Risk

This Affects:

PYTHONf5-tts
0.3.4 - 1.1.20
Fixed in 1.1.21
Are you affected? Scan for Free

TL;DR

The finetune Gradio handlers in finetune_gradio.py build filesystem paths from a user-supplied project_name and pass it directly into os.path.join(base, project_name) without any containment check. Because os.path.join discards the base when the second argument is absolute, an attacker who submits an absolute path such as /tmp/EVIL as the project name escapes the intended checkpoint/data base directory. This lets a network-reachable caller create arbitrary directories and write fixed-name JSON files (for example setting.json) anywhere the server process can write, or overwrite such files. The fix adds a _safe_project_path() helper that rejects absolute paths, null bytes, and separators and verifies the resolved path stays within the base via realpath and a prefix check across all path-join sinks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and expose the F5-TTS finetune Gradio interface to untrusted users.

Background info

f5-tts is vulnerable to Path Traversal in versions 0.3.4 - 1.1.20.

How to fix this

Upgrade the f5-tts library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform