CVE-2026-59806
published medium CVSS 4.0 · 4.9Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gradio-app | — | gradio0 to < 6.20.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.4 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio | 0 to < 6.20.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
- CWE-918 Server-Side Request Forgery (SSRF)
References
5- Fix Commit https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f
- Researcher Disclosure https://github.com/gradio-app/gradio/issues/13593
- Fix PR https://github.com/gradio-app/gradio/pull/13596
- gradio [email protected] Release Notes https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0
- https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint
Provider assertions
2VulnCheck · cna
Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b68912ec9b82c6e6644c4df69cd80e1b079f8aaf98981e6d81f713842d50e6c
- Ingested
- 08 Nov 2026, 14:15:24 UTC
- Source record
- Official CVE record