CVE-2026-59806
Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
- State
- Published
- Severity
- 4.9 Medium
- Published
- Jul 8, 2026
- Updated
- Oct 8, 2026
- Reserved
- Jul 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.9 Medium | 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 | VulnCheck |
| 3.1 | 7.4 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N | VulnCheck |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
gradiogradio-app |
|
References
- Researcher Disclosuretechnical-descriptionexploit
- Release Notesrelease-notes
- Fix PRissue-tracking
- Fix Commitpatch
- https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpointthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.