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-35050: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui

0
Critical
VulnerabilityCVE-2026-35050cvecve-2026-35050cwe-22
Published: Mon Apr 06 2026 (04/06/2026, 17:30:20 UTC)
Source: CVE Database V5
Vendor/Project: oobabooga
Product: text-generation-webui

Description

CVE-2026-35050 is a critical path traversal vulnerability in oobabooga's text-generation-webui versions prior to 4. 1. 1. It allows users to save extension settings as Python files in the application root directory, potentially overwriting existing Python files such as download-model. py. This overwritten file can then be executed via the Model menu to download a new model, enabling arbitrary code execution. The vulnerability is fixed in version 4. 1. 1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 16:05:41 UTC

Technical Analysis

The vulnerability in oobabooga text-generation-webui (before version 4.1.1) involves improper limitation of pathname to a restricted directory (CWE-22). Specifically, users can save extension settings in '.py' format directly into the app root directory, which can overwrite critical Python files like download-model.py. Since the application allows execution of this file through the Model menu to download models, an attacker with appropriate privileges can execute arbitrary code. This issue has been resolved in version 4.1.1.

Potential Impact

Successful exploitation can lead to arbitrary code execution with the privileges of the user running the application, potentially compromising confidentiality, integrity, and availability of the system. The CVSS score of 9.1 reflects critical impact with network attack vector, low attack complexity, high privileges required, no user interaction, and complete compromise of confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade oobabooga text-generation-webui to version 4.1.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.

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-03-31T21:06:06.429Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d3f4be0a160ebd92ce2ee8

Added to database: 4/6/2026, 6:00:30 PM

Last enriched: 4/14/2026, 4:05:41 PM

Last updated: 5/22/2026, 8:34:40 PM

Views: 65

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