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 the oobabooga text-generation-webui prior to version 4. 1. 1. It allows users to save extension settings as Python files in the application root directory, potentially overwriting important files like download-model. py. This overwritten file can then be executed via the Model menu, enabling arbitrary code execution. The vulnerability is fixed in version 4. 1. 1. No known exploits are reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/06/2026, 18:15:53 UTC

Technical Analysis

The vulnerability in oobabooga text-generation-webui (versions before 4.1.1) involves improper limitation of pathname to a restricted directory (CWE-22). Users could save extension settings in '.py' format directly in the app root directory, allowing overwriting of existing Python files such as download-model.py. This file could then be executed from the Model menu to download a new model, enabling execution of arbitrary code. The issue is resolved in version 4.1.1.

Potential Impact

Successful exploitation allows an attacker with high privileges to overwrite Python files in the application root directory and execute arbitrary code with the privileges of the application. This can lead to complete compromise of the affected system, including confidentiality, integrity, and availability impacts. The CVSS score is 9.1 (critical), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade the oobabooga text-generation-webui to version 4.1.1 or later where this vulnerability is fixed. Since this is a local privilege vulnerability requiring high privileges, ensure that only trusted users have access to the application environment. Patch status is confirmed fixed in 4.1.1; no additional vendor advisory is provided.

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/6/2026, 6:15:53 PM

Last updated: 4/7/2026, 3:05:17 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