Path traversal in Text Generation Web UI - #VU127416

 

Path traversal in Text Generation Web UI - #VU127416

Published: April 24, 2026


Vulnerability identifier: #VU127416
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: oobabooga
Affected software:
Text Generation Web UI

Detailed vulnerability description

The vulnerability allows a remote attacker to write or delete arbitrary files.

The vulnerability exists due to path traversal in character management functions in modules/chat.py when handling character names and filenames supplied through the Gradio API. A remote attacker can send specially crafted character data containing traversal sequences to write or delete arbitrary files.

The issue is reachable without authentication when the server is exposed with the --listen option.


Remediation

Install security update from vendor's website.

Sources