Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M
CVE-2026-35485text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication
High 7.5
In plain English
A high-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.7% (higher than 53% of all known vulnerabilities).
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_grammar() allows reading any file on the server filesystem with no extension restriction. Gradio does not server-side validate dropdown values, so an attacker can POST directory traversal payloads (e.g., ../../../etc/passwd) via the API and receive the full file contents in the response. This vulnerability is fixed in 4.3.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| oobabooga | text-generation-webui | < 4.3 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N