{"id":"CVE-2026-59806","aliases":["CVE-2026-59806"],"related":[],"kind":"vulnerability","state":"published","title":"Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Gradio anterior a la versión 6.20.0 contiene una vulnerabilidad de redirección abierta y de falsificación de petición del lado del servidor que permite a los atacantes redirigir a los usuarios a URL arbitrarias o realizar SSRF del lado del cliente al proporcionar URL HTTP/HTTPS no validadas a la función file_fetch() en el endpoint /gradio_api/file=. Los atacantes pueden elaborar una respuesta FileData maliciosa dirigida a endpoints internos, como servicios de metadatos en la nube, para recuperar credenciales sensibles, incluyendo credenciales de rol IAM de EC2.","source":"nvd"}],"published":"2026-07-08T19:43:32.730Z","modified":"2026-11-08T14:07:25.687Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N","score":4.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-601","CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"6.20.0","status":"affected"}],"vendor":"gradio-app","product":"gradio","repo":"https://github.com/gradio-app/gradio","source":"cvelist"}],"references":[{"url":"https://github.com/gradio-app/gradio/issues/13593","tags":["exploit","issue-tracking","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gradio-app/gradio/pull/13596","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-09T18:18:10.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59806","url":"https://www.cve.org/CVERecord?id=CVE-2026-59806","licence":"CVE Terms of Use","modified":"2026-11-08T14:07:25.687Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59806","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59806","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:27.421Z","epss":{"score":0.00247,"percentile":0.17093,"date":"2026-12-01T12:00:22.000Z"}}