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 vulnerability presents a moderate but constrained information disclosure risk. CVSS score of 5.3 (Medium) reflects the combination of network-accessible attack vector, low complexity, and absence of privilege requirements, but is tempered by the confidentiality-only impact (no integrity or availability impact). EPSS probability score indicates this is not among the highest real-world exploitation priorities. The constraint to four specific file extensions significantly limits the scope compared to unrestricted path traversal; however, .yaml and .yml files in LLM applications often contain API keys, model paths, and database credentials. Exploitation does not require authentication, lowering the barrier to attack. No confirmed CISA KEV status or public proof-of-concept code was identified at time of analysis, suggesting this remains theoretical exploitation rather than active in-the-wild compromise. Organizations running text-generation-webui in internet-facing deployments without network segmentation face elevated risk; internal deployments or isolated instances face lower practical risk. The patch fix (version 4.3) is available and has been released by the vendor, reducing the technical barrier to remediation. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends HTTP requests to the text-generation-webui load_template() endpoint with a crafted path traversal payload (e.g., loading '../../../config.yaml' or '../../../secrets.jinja2'). The vulnerable function fails to validate the path, allowing traversal outside the intended template directory. The attacker receives the contents of the target file in the HTTP response, extracting database credentials, API keys, or model configuration details without requiring authentication or user interaction. Subsequent exploitation of disclosed credentials could enable lateral movement or unauthorized model access. |
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 enables remote attackers to read arbitrary files with .jinja, .jinja2, .yaml, or .yml extensions from the server filesystem. The vulnerability resides in the load_template() function and allows disclosure of configuration files, templates, and other sensitive data without authentication. EPSS score of 5.3 reflects low to moderate real-world exploitation risk despite network accessibility, as successful exploitation requires knowledge of file paths and extension constraints.
RemediationAI
Upgrade text-generation-webui to version 4.3 or later to apply the vendor-released patch. Users on earlier versions should prioritize this upgrade as it directly addresses the path traversal vulnerability in load_template(). As an interim measure pending upgrade, restrict network access to the text-generation-webui service using firewall rules or network segmentation to limit exposure to trusted internal networks only; however, this is not a substitute for patching. Refer to the official GitHub Security Advisory at https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-85fx-vw25-4c95 for detailed patch notes and upgrade instructions.
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 is an open-source Python-based web interface for deploying and interacting with large language models. The vulnerability stems from insufficient input validation in the load_template() function, which fails to properly sanitize user-supplied template path parameters. This permits directory traversal sequences (e.g., '../../../etc/') to bypass intended directory restrictions. The root cause is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Affected versions prior to 4.3 expose template loading operations to unauthenticated requests over the network (AV:N), requiring no special privilege escalation (PR:N) and no user interaction (UI:N). File disclosure is limited to specific extensions (.jinja, .jinja2, .yaml, .yml), reducing but not eliminating exposure of sensitive application configuration and secrets.
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_template() allows reading files with .jinja, .jinja2, .yaml, or .yml extensions from anywhere on the server filesystem. For .jinja files the content is returned verbatim; for .yaml files a parsed key is extracted. 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-19665
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB