Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-35050
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 16:59 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 Apr 2026, 17:30 UTC

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.

osv:CVE-2026-35050
Complete source record
{
  "id": "dc38edef4cf2b1f3d85430ecfc67459db5cb82be59ed6b306dfc763867bb8a76",
  "url": "https://osv.dev/vulnerability/CVE-2026-35050",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "text-generation-webui affected by Remote Code Execution (RCE) through Path Traversal at \"Session -> Save extention settings to user_data/settings.yaml\".",
    "summary": "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.",
    "evidence": "osv:CVE-2026-35050",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-35050",
      "aliases": [
        "CVE-2026-35050",
        "GHSA-jg96-p5p6-q3cv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/oobabooga/textgen",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "256431f25869fb89326021b8051e340ef275a416"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.1",
            "v4.0",
            "v3.23",
            "v3.22",
            "v3.21",
            "v3.20",
            "v3.19",
            "v3.18",
            "v3.17",
            "v3.16",
            "v3.15",
            "v3.14",
            "v3.13",
            "v3.12",
            "v3.11",
            "v3.10",
            "v3.9.1",
            "v3.9",
            "v3.8",
            "v3.7.1",
            "v3.7",
            "v3.6.1",
            "v3.6",
            "v3.5",
            "v3.4.1",
            "v3.4",
            "v3.3.2",
            "v3.3.1",
            "v3.3",
            "v3.2",
            "v3.1",
            "v3.0",
            "v2.8.1",
            "v2.8",
            "v2.7",
            "v2.6",
            "v2.5",
            "v2.4",
            "v2.3",
            "v2.2",
            "v2.1",
            "v2.0",
            "v1.16",
            "v1.15",
            "v1.14",
            "v1.13",
            "v1.12",
            "v1.11",
            "v1.10.1",
            "v1.10",
            "v1.9.1",
            "v1.9",
            "v1.8",
            "snapshot-2024-04-28",
            "snapshot-2024-04-21",
            "snapshot-2024-04-14",
            "snapshot-2024-04-07",
            "snapshot-2024-03-31",
            "snapshot-2024-03-24",
            "snapshot-2024-03-17",
            "snapshot-2024-03-10",
            "snapshot-2024-03-03",
            "snapshot-2024-02-25",
            "snapshot-2024-02-18",
            "snapshot-2024-02-11",
            "snapshot-2024-02-04",
            "snapshot-2024-01-28",
            "snapshot-2024-01-21",
            "snapshot-2024-01-14",
            "snapshot-2024-01-07",
            "snapshot-2023-12-31",
            "snapshot-2023-12-24",
            "snapshot-2023-12-17",
            "snapshot-2023-12-10",
            "snapshot-2023-12-03",
            "snapshot-2023-11-26",
            "snapshot-2023-11-19",
            "snapshot-2023-11-12",
            "snapshot-2023-11-05",
            "snapshot-2023-10-29",
            "snapshot-2023-10-22",
            "v1.7",
            "1.6.1",
            "v1.6",
            "v1.5",
            "v1.4",
            "v1.1",
            "v1.0",
            "installers"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35050.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.106270117Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35050.json",
        "https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-jg96-p5p6-q3cv",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-35050"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35050.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-35050",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519935,
  "published_at": "2026-04-06T17:30:20.513+00:00"
}