Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity path traversal in text-generation-webui from oobabooga. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 80.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
oobabooga text-generation-webui < 4.3

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References