# CVE-2026-35050: text-generation-webui affected by Remote Code Execution (RCE) through Path Traversal at "Session -> Save extention settings to user_data/settings.yaml".

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T17:30:20.513Z
- Modified: 2026-10-23T23:10:00.157Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oobabooga text-generation-webui: < 4.1.1
- oobabooga textgen: before 4.1.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-jg96-p5p6-q3cv> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-35050](https://www.cve.org/CVERecord?id=CVE-2026-35050), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-35050](https://nvd.nist.gov/vuln/detail/CVE-2026-35050), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-35050 · Whole record: https://cve.day/CVE-2026-35050.json · Rebuilt by cve.day 2026-11-25T22:59:18.046Z
