CVE-2026-35485
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
- Text-Generation-Webui
- Oobabooga Textgen
- < 4.3
- Fix
- Available
- CVSS 3.1
- 7.5 HIGH
- EPSS
- 0.7% (50th percentile)
- Weakness
- CWE-22
- NVD status
- Analyzed
- Published
- 2026-04-07
CVE-2026-35485 at NVD
No indexed exploits for CVE-2026-35485 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2026-35485 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.