CVE-2026-59806
Gradio before 6.20.0 contains an open redirect and server-side …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f
- github.com/gradio-app/gradio/issues/13593
- github.com/gradio-app/gradio/pull/13596
- github.com/gradio-app/gradio/releases/tag/gradio%406.20.0
- www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint
- nvd.nist.gov/vuln/detail/CVE-2026-59806
- cve.org/CVERecord?id=CVE-2026-59806
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.