CVE-2026-35485
HIGHtext-generation-webui <4.3 load_grammar() - Arbitrary File Read
Title source: manualDescription
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 (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6
Scores
CVSS v3
7.5
EPSS
0.0074
EPSS Percentile
49.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
oobabooga/text-generation-webui
< 4.3
oobabooga/textgen
< 4.3
Published
Apr 07, 2026
Tracked Since
Apr 07, 2026