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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- 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
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · oobaboogaNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:*
References 2
- 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