What’s Vulnerable › Vulnerabilities
CVE-2026-35485: text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-07 · updated 2026-10-26
- Weakness: CWE-22
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
- oobabooga Textgen: before 4.3 — fixed in 4.3
How to fix
Upgrade to a fixed version: oobabooga Textgen 4.3. Check the vendor advisory for mitigations.
References
- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6
- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6
Get alerted when CVE-2026-35485 or the next vulnerability affects your stack