PT-2026-30858 · Unknown · Text-Generation-Webui

·

CVE-2026-35485

·

Published

2026-04-07

·

Updated

2026-04-07

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions text-generation-webui versions prior to 4.3
Description text-generation-webui, an open-source web interface for running Large Language Models, contains a path traversal flaw in the load grammar() function. This allows an unauthenticated attacker to read any file on the server filesystem. The issue arises because the application does not server-side validate dropdown values, enabling attackers to submit directory traversal payloads (e.g., ../../../etc/passwd) via the API. The server then returns the full file contents in the response.
Recommendations Update to version 4.3 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-35485
GHSA-HQG5-487V-5MC6

Affected Products

Text-Generation-Webui