Skip to content
HighVulnerability

CVE-2026-35485: text-generation-webui unauthenticated path traversal in load_grammar()

Identifier
CVE-2026-35485
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2026-35485 affects text-generation-webui, an open-source web interface for running Large Language Models, prior to 4.3. An unauthenticated path traversal in load_grammar() lets an attacker read any file on the server filesystem, because Gradio does not validate dropdown values server-side and the attacker can POST payloads such as ../../../etc/passwd to the API. The full file contents are returned in the response.

Mitigation

This vulnerability is fixed in 4.3.