Skip to main content
← All vulnerabilities
CVE-2026-59806

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.20.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gradio-app gradio

    fixed in 6.20.0

References 5

GitHub · gradio-app/gradio

vulncheck.com