Path traversal in Text Generation Web UI - CVE-2026-35483
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_template() when processing a crafted template name in an API request. A remote attacker can send a specially crafted request to disclose sensitive information.
The issue can expose readable .jinja, .jinja2, .yaml, or .yml files outside the intended instruction-templates directory; .jinja and .jinja2 content is returned verbatim, while yaml-based files return the instruction_template key.