{"id":"CVE-2026-59806","published":"2026-07-08T19:43:32Z","modified":"2026-11-08T14:07:25Z","title":"Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint","vendor":"gradio-app","product":"gradio","tier":"tail","description":{"text":"Gradio before 6.20.0 contains an open redirect and server-side request forgery vulnerability that allows attackers to redirect users to arbitrary URLs or perform client-side SSRF by supplying unvalidated HTTP/HTTPS URLs to the file_fetch() function in the /gradio_api/file= endpoint. Attackers can craft a malicious FileData response targeting internal endpoints such as cloud metadata services to retrieve sensitive credentials including EC2 IAM role credentials.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.29892,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/gradio-app/gradio/issues/13593","tags":["technical-description","exploit","issue-tracking"]},{"url":"https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0","tags":["release-notes"]},{"url":"https://github.com/gradio-app/gradio/pull/13596","tags":["issue-tracking","patch"]},{"url":"https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint","tags":["third-party-advisory"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":5.98},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio","versions":["< 6.20.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-09T18:18:10.196884Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42376","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/gradio-app/gradio/issues/13593"]}