{"id":"CVE-2026-35485","state":"PUBLISHED","title":"text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication","description":"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.","publishedAt":"2026-04-07T14:47:37.593Z","updatedAt":"2026-04-07T15:58:51.812Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["oobabooga text-generation-webui"],"affected":[{"vendor":"oobabooga","product":"text-generation-webui","versions":[{"version":"< 4.3","status":"affected"}]}],"references":["https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35485.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35485","state":"PUBLISHED","datePublished":"2026-04-07T14:47:37.593Z","dateUpdated":"2026-04-07T15:58:51.812Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-02T20:49:44.454Z"},"containers":{"cna":{"title":"text-generation-webui has a Path Traversal in load_grammar() — arbitrary file read without authentication","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"oobabooga","product":"text-generation-webui","versions":[{"version":"< 4.3","status":"affected"}]}],"references":[{"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","name":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-07T14:47:37.593Z"},"source":{"advisory":"GHSA-hqg5-487v-5mc6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/oobabooga/text-generation-webui/security/advisories/GHSA-hqg5-487v-5mc6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T15:11:37.214994Z","id":"CVE-2026-35485","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T15:58:51.812Z"}}]}}}