CVE 7.5 HIGH

text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication_CVE-2026-35485

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

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.

Basic Information

ID CVE-2026-35485
Source GitHub_M
Published Apr 7, 2026 at 14:47
Modified Apr 7, 2026 at 15:58

Affected Product

Vendor oobabooga
Product text-generation-webui
Version < 4.3
Affected Versions oobabooga text-generation-webui < 4.3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.