Home

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.

PUBLISHED Reserved 2026-04-02 | Published 2026-04-07 | Updated 2026-04-07 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 4.3
affected

References

github.com/...-webui/security/advisories/GHSA-hqg5-487v-5mc6 exploit

github.com/...-webui/security/advisories/GHSA-hqg5-487v-5mc6

cve.org (CVE-2026-35485)

nvd.nist.gov (CVE-2026-35485)

Download JSON