PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-35050 oobabooga CVE debrief

The text-generation-webui application, prior to version 4.1.1, allows users to save extension settings in 'py' format in the app's root directory. This can lead to overwriting of Python files, such as 'download-model.py', which can then be executed from the 'Model' menu when downloading a new model. The vulnerability is exploitable by users with write access to the app's root directory, potentially leading to arbitrary code execution and elevation of privileges. Defenders should prioritize upgrading to version 4.1.1 or later and restrict write access to the app's root directory.

Vendor
oobabooga
Product
text-generation-webui
CVSS
CRITICAL 9.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-06
Original CVE updated
2026-10-23
Advisory published
2026-04-06
Advisory updated
2026-10-23

Who should care

Defenders responsible for the text-generation-webui application, particularly those with write access to the app's root directory, should be aware of this vulnerability and take steps to mitigate it.

Why it matters

This vulnerability allows users to overwrite Python files, potentially leading to arbitrary code execution and elevation of privileges. Defenders should prioritize upgrading to version 4.1.1 or later and restrict write access to the app's root directory.

  • Arbitrary Python file execution
  • Potential for code injection and execution
  • Elevation of privileges through model download

Technical summary

The text-generation-webui application, prior to version 4.1.1, allows users to save extension settings in 'py' format in the app's root directory. This can lead to overwriting of Python files, such as 'download-model.py', which can then be executed from the 'Model' menu when downloading a new model. The vulnerability is exploitable by users with write access to the app's root directory, potentially leading to arbitrary code execution and elevation of privileges. The fix involves upgrading to version 4.1.1 or later and restricting write access to the app's root directory.

Defensive priority

Defenders should prioritize upgrading to version 4.1.1 or later and restrict write access to the app's root directory.

Recommended defensive actions

  • Upgrade to version 4.1.1 or later
  • Restrict write access to the app's root directory
  • Monitor for suspicious activity in the 'Model' menu
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is described in the CVE record and the NVD vulnerability detail page. The fix is mentioned in the CVE record and the source reference from GitHub. The CVE record was published on 2026-04-06T18:16:42.583Z and has not been modified since then. Additional verification is recommended to confirm affected scope and severity. Review official advisories and track exceptions for retesting remediated assets.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-35050 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-35050

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-35050 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-35050

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-jg96-p5p6-q3cv

    [email protected] - Exploit, Mitigation, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.