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

CVE-2026-35487 is a path traversal vulnerability in versions of oobabooga text-generation-webui prior to 4. 3. It allows unauthenticated attackers to read arbitrary . txt files on the server by exploiting the load_prompt() function. The file contents are returned directly in the API response. This vulnerability has a medium severity rating and is fixed in version 4. 3.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 15:54:56 UTC

Technical Analysis

The vulnerability identified as CVE-2026-35487 affects the open-source oobabooga text-generation-webui prior to version 4.3. An unauthenticated path traversal flaw in the load_prompt() function permits attackers to read any .txt file on the server filesystem by manipulating the pathname. The contents of the accessed file are returned verbatim in the API response, potentially exposing sensitive information. The issue is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with an attack vector of network, no privileges required, and no user interaction needed. The vulnerability is fixed in version 4.3 of the software.

Potential Impact

Successful exploitation allows an unauthenticated attacker to read arbitrary .txt files on the server hosting the vulnerable text-generation-webui instance. This can lead to disclosure of sensitive information stored in text files. There is no impact on integrity or availability according to the CVSS vector. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade to version 4.3 or later of oobabooga text-generation-webui, where this vulnerability is fixed. Since the vulnerability is resolved in the official release, no additional mitigation steps are required beyond applying the update. Patch status is confirmed by the vendor stating the fix is included in version 4.3.

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/14/2026, 3:54:56 PM

Last updated: 5/23/2026, 3:47:35 AM

Views: 57

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