What’s Vulnerable › Vulnerabilities

CVE-2026-35487: text-generation-webui has a Path Traversal in load_prompt() — .txt file read without authentication

Description

text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.3, an unauthenticated path traversal vulnerability in load_prompt() allows reading any .txt file on the server filesystem. The file content is returned verbatim in the API response. This vulnerability is fixed in 4.3.

Affected products

How to fix

Upgrade to a fixed version: oobabooga text-generation-webui 4.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-35487 or the next vulnerability affects your stack