CVE-2026-59806
Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
CVSS Score
7.4
EPSS Score
0.2%
EPSS Percentile
16th
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.
| CWE | CWE-601 CWE-918 |
| Vendor | gradio-app |
| Product | gradio |
| Published | Jul 8, 2026 |
| Last Updated | Jul 9, 2026 |
Stay Ahead of the Next One
Get instant alerts for gradio-app gradio
Be the first to know when new high vulnerabilities affecting gradio-app gradio are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
gradio-app / gradio
0 < 6.20.0
References
github.com: https://github.com/gradio-app/gradio/issues/13593 github.com: https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0 github.com: https://github.com/gradio-app/gradio/pull/13596 github.com: https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f vulncheck.com: https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint
Credits
George Chen