CVE-2026-59806: Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint

Published Jul 8, 2026
·
Updated

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 filefetch() function in the /gradioapi/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.

Affected Software

1 affected component
gradio gradio<6.20.0

Event History

Jul 8, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via OSV·07:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Jul 9, 2026
Exploit Published
via CISA·06:18 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-59806?

CVE-2026-59806 has a medium severity score of 4.9.

2

How do I fix CVE-2026-59806?

To fix CVE-2026-59806, upgrade Gradio to version 6.20.0 or later.

3

What types of attacks does CVE-2026-59806 enable?

CVE-2026-59806 allows attackers to perform open redirects and server-side request forgery (SSRF) attacks.

4

Which endpoint is affected by CVE-2026-59806?

CVE-2026-59806 affects the /gradio_api/file= endpoint in Gradio.

5

What software is impacted by CVE-2026-59806?

CVE-2026-59806 impacts all versions of Gradio before 6.20.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203