CVE-2026-59806gradio-app gradio Open Redirect
NVD
Vulnerability 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.
CVSS v4.0 Base Metrics — Score 4.9 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.4)
CVSS v3.1 Base Metrics — Score 7.4 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- gradio-app gradio < 6.20.0
- gradio-app gradio 6.20.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run gradio-app gradio and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jul 8, 2026Published
- Oct 8, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new gradio-app gradio CVEsYou are reading CVE-2026-59806. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore gradio-app gradio CVEs
External References
- Exploithttps://github.com/gradio-app/gradio/issues/13593
- Referencehttps://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0
- Patchhttps://github.com/gradio-app/gradio/pull/13596
- Patchhttps://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f
- Referencehttps://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint
Data last checked: Nov 22, 2026 23:12 UTC