CVE Explorer
CVE-2026-35485
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"text-generation-webui","vendor":"oobabooga","versions":[{"status":"affected","version":"< 4.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fc8970a7cae65bc1655ac107a0772bd2166276416be7e917748d65db40fe44a2 · sha256:a7fcf9c363f093ea… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fc8970a7cae65bc1655ac107a0772bd2166276416be7e917748d65db40fe44a2 · sha256:a7fcf9c363f093ea… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fc8970a7cae65bc1655ac107a0772bd2166276416be7e917748d65db40fe44a2 · sha256:a7fcf9c363f093ea… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fc8970a7cae65bc1655ac107a0772bd2166276416be7e917748d65db40fe44a2 · sha256:a7fcf9c363f093ea… · /containers/adp/0/references/0
{"name":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fc8970a7cae65bc1655ac107a0772bd2166276416be7e917748d65db40fe44a2 · sha256:a7fcf9c363f093ea… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.