Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35487: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui

0
Medium
VulnerabilityCVE-2026-35487cvecve-2026-35487cwe-22
Published: Tue Apr 07 2026 (04/07/2026, 14:50:25 UTC)
Source: CVE Database V5
Vendor/Project: oobabooga
Product: 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

AILast updated: 04/07/2026, 15:48:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses