CVE-2026-35487: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui
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.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-35487 affects oobabooga's text-generation-webui versions before 4.3. It is a CWE-22 path traversal issue where the load_prompt() function does not properly restrict pathname inputs, enabling unauthenticated users to read any .txt file on the server filesystem. The file content is exposed verbatim in the API response, potentially leaking sensitive information. The vulnerability has a CVSS 3.1 base score of 5.3, reflecting its network accessibility and lack of required privileges or user interaction. The issue is resolved in version 4.3 of the software.
Potential Impact
An attacker can read arbitrary .txt files on the server hosting the vulnerable text-generation-webui, potentially exposing sensitive information contained in those files. There is no impact on integrity or availability reported. The vulnerability is exploitable remotely without authentication.
Mitigation Recommendations
Upgrade to text-generation-webui version 4.3 or later, where this path traversal vulnerability is fixed. Since the vulnerability is resolved in the official release, applying this update fully mitigates the risk. No other temporary fixes or workarounds are documented.
CVE-2026-35487: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-35487 affects oobabooga's text-generation-webui versions before 4.3. It is a CWE-22 path traversal issue where the load_prompt() function does not properly restrict pathname inputs, enabling unauthenticated users to read any .txt file on the server filesystem. The file content is exposed verbatim in the API response, potentially leaking sensitive information. The vulnerability has a CVSS 3.1 base score of 5.3, reflecting its network accessibility and lack of required privileges or user interaction. The issue is resolved in version 4.3 of the software.
Potential Impact
An attacker can read arbitrary .txt files on the server hosting the vulnerable text-generation-webui, potentially exposing sensitive information contained in those files. There is no impact on integrity or availability reported. The vulnerability is exploitable remotely without authentication.
Mitigation Recommendations
Upgrade to text-generation-webui version 4.3 or later, where this path traversal vulnerability is fixed. Since the vulnerability is resolved in the official release, applying this update fully mitigates the risk. No other temporary fixes or workarounds are documented.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-02T20:49:44.454Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d52341aaed68159a2ec57c
Added to database: 4/7/2026, 3:31:13 PM
Last enriched: 4/7/2026, 3:48:24 PM
Last updated: 4/8/2026, 12:43:11 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.