CVE-2026-59806 Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
MediumCVSS 4.9
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi gradio | < 6.20.0 | 6.20.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi gradio | < 6.20.0 | 6.20.0 |
References
- Researcher Disclosure exploit issue-tracking technical-description
- gradio gradio@6.20.0 Release Notes release-notes
- Fix PR issue-tracking patch
- Fix Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-42376 third-party-advisory