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 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 Analysis
Technical Summary
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.
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 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
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.
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 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.