Path traversal in Text Generation Web UI - CVE-2026-35484

 

Path traversal in Text Generation Web UI - CVE-2026-35484

Published: April 24, 2026


Vulnerability identifier: #VU127421
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-35484
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Text Generation Web UI

How to mitigate CVE-2026-35484

Install security update from vendor's website.

Text Generation Web UI - update to 4.3

External References

Related Security Bulletins