CVE-2026-35485
Last modified
CVE-2026-35485 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Oobabooga | Textgen | < 4.3 |
References
- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6Exploit, Vendor Advisory
- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-35485?
How severe is CVE-2026-35485?
How do I fix CVE-2026-35485?
Are you affected by CVE-2026-35485?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
