Skip to content
HighVulnerability

CVE-2026-59806: Gradio open redirect and SSRF via /gradio_api/file= endpoint

Identifier
CVE-2026-59806
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2026-59806 affects Gradio before 6.20.0. Unvalidated HTTP/HTTPS URLs passed to the file_fetch() function in the /gradio_api/file= endpoint enable an open redirect and server-side request forgery. A crafted FileData response can target internal endpoints such as cloud metadata services to retrieve sensitive credentials, including EC2 IAM role credentials. VulnCheck rates it CVSS 4.0 4.9 (MEDIUM); NVD has not yet provided an assessment.

Mitigation

Fixed in 6.20.0 (gradio@6.20.0 release, per the referenced GitHub commit and release tag).