CVE-2026-35050 Details
Description
text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.1.1, users can save extention settings in "py" format and in the app root directory. This allows to overwrite python files, for instance the "download-model.py" file could be overwritten. Then, this python file can be triggered to get executed from "Model" menu when requesting to download a new model. This vulnerability is fixed in 4.1.1.
A remote code execution vulnerability has been identified in Text Generation Web UI versions prior to 4.1.1. The issue arises from a path traversal vulnerability that allows users to save extension settings in Python format within the application’s root directory. This capability can be exploited to overwrite Python files, such as 'download-model.py'. Once overwritten, the modified Python file can be executed from the 'Model' menu when downloading a new model. This vulnerability has been patched in version 4.1.1.
Users are advised to update to Text Generation Web UI version 4.1.1 or later. If the 'Save extension settings' functionality is still needed, consider implementing back-end validation to prevent path traversal, ensuring that file names end with '.yaml' and that the 'File folder' field cannot be modified.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-jg96-p5p6-q3cv | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| oobabooga textgen | < 4.1.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | Initial Analysis | [email protected] |
| Apr 6, 2026 | New CVE Received | [email protected] |