Ad

CVE-2026-35485

HIGH CVSS 3.1: 7.5 EPSS 0.48%
Updated Apr 07, 2026
text-generation-webui
Parameter Value
CVSS 7.5 (HIGH)
Fixed In 4.3
Type CWE-22 (Path Traversal)
Vendor text-generation-webui
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)