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.
CVE-2026-59806
Score 7.4 from GitHub Security Advisory published 2026-07-08. a secondary CVSS source baseline 7.4; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.4
- EG Score
- 7.4(high)
- EPSS
- 15.9%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 10, 2026
Advisory Details (5)
Auto-updated Jul 8, 2026Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint | Advisories | VulnCheck
https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint[email protected]
Patch available: gradio-app/gradio [email protected]
https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0fix: serve /gradio_api/file=<url> via an SSRF-safe proxy
Patch available: gradio-app/gradio @gradio/[email protected] (PR #13596 merged 2026-07-06)
https://github.com/gradio-app/gradio/pull/13596Unvalidated Open Redirect and Client SSRF via /gradio_api/file= in Gradio 6.15 · Issue #13593 · gradio-app/gradio · GitHub
https://github.com/gradio-app/gradio/issues/13593commit 1c5c53842df9 (gradio-app/gradio)
Patch available: gradio-app/gradio @gradio/[email protected] (contains commit 1c5c53842df9)
https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3fVendor Advisories for CVE-2026-59806(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 25× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-13 01:57 UTCEG score recompute
- 2026-07-13 01:57 UTCGHSA enrichment
- 2026-07-12 14:39 UTCEG score recompute
- 2026-07-12 14:39 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 03:21 UTCEG score recompute
- 2026-07-12 03:21 UTCGHSA enrichment
- 2026-07-11 16:03 UTCEG score recompute
- 2026-07-11 16:03 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 04:45 UTCEG score recompute
- 2026-07-11 04:45 UTCGHSA enrichment
- 2026-07-10 17:27 UTCEG score recompute
- 2026-07-10 17:27 UTCGHSA enrichment
- 2026-07-10 06:10 UTCEG score recompute
- 2026-07-10 06:10 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 18:51 UTCEG score recompute
- 2026-07-09 18:51 UTCGHSA enrichment
- 2026-07-09 07:33 UTCEG score recompute
- 2026-07-09 07:33 UTCGHSA enrichment
- 2026-07-08 20:16 UTCEG score recompute
- 2026-07-08 20:14 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-918
Frequently asked(5)
What is CVE-2026-59806?
When was CVE-2026-59806 disclosed?
Is CVE-2026-59806 actively exploited?
What is the CVSS score of CVE-2026-59806?
How do I remediate CVE-2026-59806?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59806
Is Your Infrastructure Affected by CVE-2026-59806?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.