{"id":"CVE-2026-59806","state":"PUBLISHED","title":"Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint","description":"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.","publishedAt":"2026-07-08T19:43:32.730Z","updatedAt":"2026-10-08T15:51:35.232Z","severity":{"score":4.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["gradio-app gradio"],"affected":[{"vendor":"gradio-app","product":"gradio","packageURL":"pkg:pypi/gradio","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.20.0","versionType":"semver"}],"repo":"https://github.com/gradio-app/gradio"}],"references":["https://github.com/gradio-app/gradio/issues/13593","https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0","https://github.com/gradio-app/gradio/pull/13596","https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f","https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint"],"weaknesses":["CWE-601","CWE-918"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59806.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59806","state":"PUBLISHED","datePublished":"2026-07-08T19:43:32.730Z","dateUpdated":"2026-10-08T15:51:35.232Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-07T14:39:14.062Z"},"containers":{"cna":{"title":"Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gradio-app","product":"gradio","packageURL":"pkg:pypi/gradio","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.20.0","versionType":"semver"}],"repo":"https://github.com/gradio-app/gradio"}],"references":[{"url":"https://github.com/gradio-app/gradio/issues/13593","name":"Researcher Disclosure","tags":["technical-description","exploit"]},{"url":"https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0","name":"Release Notes","tags":["release-notes"]},{"url":"https://github.com/gradio-app/gradio/pull/13596","name":"Fix PR","tags":["issue-tracking"]},{"url":"https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f","name":"Fix Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":4.9,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","version":"3.1","baseSeverity":"HIGH","baseScore":7.4,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"},{"cweId":"CWE-918","lang":"en","description":"Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:51:35.232Z"},"tags":["x_open-source"],"datePublic":"2026-07-05T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*","versionEndExcluding":"6.20.0"}]}]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T18:18:10.196884Z","id":"CVE-2026-59806","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T18:18:16.061Z"}}]}}}