CVE-2026-59806
HIGHGradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
Title source: cnaDescription
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.
References (5)
Core 5
Core References
Exploit technical-description
exploit
Researcher Disclosure
https://github.com/gradio-app/gradio/issues/13593
Release Notes release-notes
Release Notes
https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0
Patch patch
Fix Commit
https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint
Scores
CVSS v3
7.4
EPSS
0.0025
EPSS Percentile
16.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-601
CWE-918
Status
published
Products (1)
gradio-app/gradio
< 6.20.0
Published
Jul 08, 2026
Tracked Since
Jul 09, 2026