Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L) indicates network-exploitable, low-complexity, unauthenticated attack with confidentiality impact limited to the server filesystem scope. While CVSS score of 5.3 is moderate, the actual risk profile is significant: the attack requires no authentication or user interaction, is trivial to exploit programmatically, and directly exposes sensitive files (.txt files on the server). Risk depends heavily on deployment context-if text-generation-webui runs with access to configuration files, API keys, source code, or training data, the actual impact could be severe. The absence of integrity or availability impact limits CVSS severity, but the practical threat is high for exposed instances. Organizations should prioritize this based on network accessibility and what sensitive .txt files exist on the server (e.g., .env files accidentally named .txt, configuration, user data). |
| Exploit ScenarioDerived | An attacker can send an unauthenticated HTTP request to the load_prompt() API endpoint with a crafted path parameter containing traversal sequences (e.g., load_prompt?file=../../etc/passwd.txt or similar) to read arbitrary .txt files from the server filesystem. The application returns file contents directly in the API response, allowing the attacker to exfiltrate sensitive information such as configuration files, credentials stored in text format, or private data without any authentication or triggering user interaction. No public exploit code is referenced in available data, but the attack is straightforward to execute manually or via automated scanning tools. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Unauthenticated path traversal in text-generation-webui prior to version 4.3 allows remote attackers to read arbitrary .txt files from the server filesystem via the load_prompt() function, with file contents returned directly in API responses. The vulnerability requires no authentication, user interaction, or special conditions, resulting in confidentiality impact with a CVSS score of 5.3. A vendor-released patch is available in version 4.3.
RemediationAI
Upgrade text-generation-webui to version 4.3 or later, which contains the fix for this path traversal vulnerability. Users unable to upgrade immediately should restrict network access to the text-generation-webui interface using firewall rules, reverse proxy authentication, or VPN requirements to limit exposure of the load_prompt() endpoint. Review server logs for evidence of path traversal attempts (requests containing ../ or similar sequences in prompt-loading requests). For additional details and verification, refer to the GitHub security advisory at https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-mfgg-vvc6-vqq7.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
text-generation-webui (CPE: cpe:2.3:a:oobabooga:text-generation-webui:*:*:*:*:*:*:*:*) is an open-source Python web interface for deploying and interacting with large language models. The vulnerability exists in the load_prompt() function, which fails to properly validate or sanitize file path inputs, enabling CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) attacks. Attackers can craft requests using path traversal sequences (e.g., ../) to access files outside the intended prompt directory, with the function returning file contents verbatim in HTTP responses. This is a classic server-side path traversal flaw where insufficient input validation allows directory escape without filesystem-level access controls being bypassed.
Know when Text Generation Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-19672
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB