Skip to content
Heist/ feed
Back to feed
Medium

text-generation-webui has a Path Traversal in load_prompt() — .txt file read without authentication

Type: advisorySources: OSV

text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.3, an unauthenticated path traversal vulnerability in load_prompt() allows reading any .txt file on the server filesystem. The file content is returned verbatim in the API response. This vulnerability is fixed in 4.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-35487
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:33 UTC · Revision 1

Source evidence

text-generation-webui has a Path Traversal in load_prompt() — .txt file read without authentication

core-osv · Original source

Published 7 Apr 2026, 14:50 UTC

text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.3, an unauthenticated path traversal vulnerability in load_prompt() allows reading any .txt file on the server filesystem. The file content is returned verbatim in the API response. This vulnerability is fixed in 4.3.

osv:CVE-2026-35487
Complete source record
{
  "id": "3e6a4b0d6f90b173191809cb30d789de87fda838e8c321432f3152c84ed7d454",
  "url": "https://osv.dev/vulnerability/CVE-2026-35487",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "text-generation-webui has a Path Traversal in load_prompt() — .txt file read without authentication",
    "summary": "text-generation-webui is an open-source web interface for running Large Language Models. Prior to 4.3, an unauthenticated path traversal vulnerability in load_prompt() allows reading any .txt file on the server filesystem. The file content is returned verbatim in the API response. This vulnerability is fixed in 4.3.",
    "evidence": "osv:CVE-2026-35487",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-35487",
      "aliases": [
        "CVE-2026-35487",
        "GHSA-mfgg-vvc6-vqq7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/oobabooga/textgen",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9374a4e70d4e3d26ddda30e5493ad8a7b1d75122"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:oobabooga:text_generation_web_ui:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2",
            "v4.1.1",
            "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-35487.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.599332215Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35487.json",
        "https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-mfgg-vvc6-vqq7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-35487"
      ],
      "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-35487.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-35487",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502046,
  "published_at": "2026-04-07T14:50:25.103+00:00"
}