Skip to main content
← All vulnerabilities
CVE-2026-35485

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • oobabooga text-generation-webui

    fixed in 4.3

References 1

GitHub · oobabooga/text-generation-webui