Skip to content
OpenAdvisories
High · 7.4 CVE-2026-59806 EUVD-2026-42376GHSA-rj25-5m4j-hcxq

Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint

Published Jul 8, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
gradio-app gradio < 6.20.0 6.20.0

References