CVE-2026-35485
text-generation-webui has a Path Traversal in load_grammar() โ arbitrary file read without authentication
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | oobabooga |
| Product | text-generation-webui |
| Published | Apr 7, 2026 |
| Last Updated | Apr 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for oobabooga text-generation-webui
Be the first to know when new high vulnerabilities affecting oobabooga text-generation-webui are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
oobabooga / text-generation-webui
< 4.3