CVE-2026-35485

Source
https://cve.org/CVERecord?id=CVE-2026-35485
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35485.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-35485
Aliases
  • GHSA-hqg5-487v-5mc6
Published
2026-04-07T14:47:37.593Z
Modified
2026-07-15T01:48:51.029914717Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication
Details

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_grammar() allows reading any file on the server filesystem with no extension restriction. Gradio does not server-side validate dropdown values, so an attacker can POST directory traversal payloads (e.g., ../../../etc/passwd) via the API and receive the full file contents in the response. This vulnerability is fixed in 4.3.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35485.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/oobabooga/textgen

Affected ranges

Type
GIT
Repo
https://github.com/oobabooga/textgen
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

1.*
1.6.1
Other
installers
snapshot-2023-10-22
snapshot-2023-10-29
snapshot-2023-11-05
snapshot-2023-11-12
snapshot-2023-11-19
snapshot-2023-11-26
snapshot-2023-12-03
snapshot-2023-12-10
snapshot-2023-12-17
snapshot-2023-12-24
snapshot-2023-12-31
snapshot-2024-01-07
snapshot-2024-01-14
snapshot-2024-01-21
snapshot-2024-01-28
snapshot-2024-02-04
snapshot-2024-02-11
snapshot-2024-02-18
snapshot-2024-02-25
snapshot-2024-03-03
snapshot-2024-03-10
snapshot-2024-03-17
snapshot-2024-03-24
snapshot-2024-03-31
snapshot-2024-04-07
snapshot-2024-04-14
snapshot-2024-04-21
snapshot-2024-04-28
v1.*
v1.0
v1.1
v1.10
v1.10.1
v1.11
v1.12
v1.13
v1.14
v1.15
v1.16
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9
v1.9.1
v2.*
v2.0
v2.1
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.8
v2.8.1
v3.*
v3.0
v3.1
v3.10
v3.11
v3.12
v3.13
v3.14
v3.15
v3.16
v3.17
v3.18
v3.19
v3.2
v3.20
v3.21
v3.22
v3.23
v3.3
v3.3.1
v3.3.2
v3.4
v3.4.1
v3.5
v3.6
v3.6.1
v3.7
v3.7.1
v3.8
v3.9
v3.9.1
v4.*
v4.0
v4.1
v4.1.1
v4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35485.json"