Unauthenticated Path Traversal Vulnerability in text-generation-webui by oobabooga
CVE-2026-35487
5.3MEDIUM
What is CVE-2026-35487?
The text-generation-webui, developed by oobabooga, is vulnerable to an unauthenticated path traversal issue that affects versions prior to 4.3. This vulnerability allows an attacker to read any .txt file located on the server's filesystem through the load_prompt() function. The contents of these files are returned directly in the API response, potentially exposing sensitive information. Users are strongly advised to upgrade to version 4.3 or later to mitigate this risk.
Affected Version(s)
text-generation-webui < 4.3
