# CVE-2026-59806: Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint

- Severity: Medium 4.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T19:43:32.730Z
- Modified: 2026-11-08T14:07:25.687Z
- Weaknesses: CWE-601, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: before 6.20.0

## Every score

- VulnCheck: CVSS:4.0 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:N`
- VulnCheck: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/gradio-app/gradio/issues/13593> (exploit, issue-tracking, technical-description)
- <https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0> (release-notes)
- <https://github.com/gradio-app/gradio/pull/13596> (issue-tracking, patch)
- <https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3f> (patch)
- <https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-59806](https://www.cve.org/CVERecord?id=CVE-2026-59806), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-59806](https://nvd.nist.gov/vuln/detail/CVE-2026-59806), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59806 · Whole record: https://cve.day/CVE-2026-59806.json · Rebuilt by cve.day 2026-11-25T22:59:27.421Z
