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