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) indicates network-accessible attack surface with low complexity and no authentication required, representing a straightforward exploitation path. The moderate CVSS score of 5.3 reflects low integrity and availability impact (only confidentiality is affected: C:L/I:N/A:N), but this underestimates real-world risk given the attack's practical utility. The vulnerability exposes high-value secrets-passwords, API keys, connection strings-which can enable lateral movement, privilege escalation, or compromise of downstream systems. The unauthenticated, no-user-interaction requirement means automated scanning and exploitation are trivial. No KEV status or active exploitation confirmation is provided in the input data, so public exploit code existence cannot be confirmed, but the vulnerability's simplicity (path traversal + YAML parsing) makes proof-of-concept development trivial. SSVC analysis would likely rate this as having high technical impact (secrets disclosure) and moderate to high automatable impact, elevating priority despite moderate CVSS. This is a medium-to-high priority issue in any environment running text-generation-webui, particularly if the instance handles sensitive credentials. |
| Exploit ScenarioDerived | An attacker discovers a text-generation-webui instance exposed on the internet and crafts a request to the load_preset() API endpoint with a malicious path parameter such as '../../../../etc/config.yaml' or a path traversal sequence pointing to the application's own configuration directory containing stored credentials. The server parses the YAML file without validating the path, returns the parsed key-value pairs (including API keys, database passwords, and model credentials) in the JSON API response, and the attacker captures these secrets. With compromised API keys or credentials, the attacker can authenticate to downstream services, exfiltrate model data, or pivot to other infrastructure. |
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 YAML files from the server filesystem via the load_preset() function, exposing sensitive credentials such as passwords, API keys, and connection strings in API responses. The vulnerability requires only network access with no authentication, user interaction, or special configuration, making it a practical attack vector despite the moderate CVSS score of 5.3.
RemediationAI
Upgrade text-generation-webui to version 4.3 or later, which includes a fix for the path traversal vulnerability in load_preset(). The patched version properly validates and sanitizes file path inputs before processing YAML files. Users should update via their deployment method: pip installations should run 'pip install --upgrade text-generation-webui>=4.3', Docker deployments should pull the latest image, and direct repository clones should pull the latest main branch and verify the version tag. For environments unable to upgrade immediately, restrict network access to the text-generation-webui web interface via firewall rules or reverse proxy authentication; however, this is a temporary mitigation only. Refer to the GitHub Security Advisory at https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-w3cv-4447-5hf5 for confirmation and additional guidance.
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 running large language models. The vulnerability resides in the load_preset() function, which handles loading configuration presets stored as YAML files. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), meaning the application fails to properly validate and sanitize file path inputs before passing them to YAML parsing operations. An attacker can craft malicious preset parameters containing path traversal sequences (e.g., '../../../etc/passwd' or similar YAML file paths) to escape intended directory boundaries and access arbitrary YAML configuration files on the filesystem. These files are then parsed and their key-value pairs returned directly in API responses, exposing any secrets stored in YAML format. Affected versions include all releases of text-generation-webui prior to 4.3 across all platforms (cpe:2.3:a:oobabooga:text-generation-webui:*:*:*:*:*:*:*:*).
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_preset() allows reading any .yaml file on the server filesystem. The parsed YAML key-value pairs (including passwords, API keys, connection strings) are returned 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-19667
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB