CVE-2026-35485

HIGH CVSS 3.1: 7.5 EPSS 0.69%
Updated Oct 27, 2026
Oobabooga
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 4.3
Fixed In 4.3
Type CWE-22 (Path Traversal)
Vendor Oobabooga
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)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Oobabooga Textgen
cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:*
— 4.3