{"id":"CVE-2026-35485","published":"2026-04-07T14:47:37Z","modified":"2026-04-07T15:58:51Z","title":"text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication","vendor":"oobabooga","product":"text-generation-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00689,"percentile":0.53662,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"oobabooga","affectedVersions":[{"vendor":"oobabooga","product":"text-generation-webui","versions":["< 4.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T15:11:37.214994Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-19669","exploited":false,"provenance":"source"}}