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.
References
| Link | Resource |
|---|---|
| https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6 | Exploit Vendor Advisory |
| https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6 | Exploit Vendor Advisory |
Configurations
History
28 Apr 2026, 20:41
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:* | |
| First Time |
Oobabooga
Oobabooga textgen |
|
| References | () https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6 - Exploit, Vendor Advisory |
07 Apr 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6 - |
07 Apr 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-07 15:17
Updated : 2026-04-28 20:41
NVD link : CVE-2026-35485
Mitre link : CVE-2026-35485
CVE.ORG link : CVE-2026-35485
JSON object : View
Products Affected
oobabooga
- textgen
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
