Path traversal in Text Generation Web UI - CVE-2026-35484
Published: April 24, 2026
Text Generation Web UI
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in load_preset() in modules/presets.py when processing a crafted preset name through the API. A remote attacker can send a specially crafted request to disclose sensitive information.
The issue is limited to reading files with a .yaml extension, and the parsed key-value pairs are returned in the API response.