{"id":"CVE-2026-35485","aliases":["CVE-2026-35485"],"related":[],"kind":"vulnerability","state":"published","title":"text-generation-webui has a Path Traversal in load_grammar() — arbitrary 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_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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"text-generation-webui es una interfaz web de código abierto para ejecutar Modelos de Lenguaje Grandes. Antes de la versión 4.3, una vulnerabilidad de salto de ruta no autenticada en load_grammar() permite leer cualquier archivo en el sistema de archivos del servidor sin restricción de extensión. Gradio no valida los valores de los desplegables en el lado del servidor, por lo que un atacante puede enviar cargas útiles de salto de directorio (por ejemplo, .. / .. / .. / etc/p4ssd) a través de la API y recibir el contenido completo del archivo en la respuesta. Esta vulnerabilidad está corregida en la versión 4.3.","source":"nvd"}],"published":"2026-04-07T14:47:37.593Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.3","status":"affected"}],"vendor":"oobabooga","product":"text-generation-webui","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.3"}],"vendor":"oobabooga","product":"textgen","cpe":"cpe:2.3:a:oobabooga:textgen:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-07T15:11:37.214Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35485","url":"https://www.cve.org/CVERecord?id=CVE-2026-35485","licence":"CVE Terms of Use","modified":"2026-04-07T15:58:51.812Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35485","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35485","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.107Z","epss":{"score":0.00704,"percentile":0.54547,"date":"2026-12-01T12:00:22.000Z"}}