Path traversal in Text Generation Web UI - CVE-2026-35050
Published: April 24, 2026
Text Generation Web UI
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to path traversal in the extension settings save functionality when handling crafted file path and file content input. A remote privileged user can overwrite python files in the application root directory to execute arbitrary code.
Exploitation can be triggered when the overwritten file is later invoked from the Model menu during a model download operation.