CVE-2026-59806
JSON

4.9medium

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

Severity
4.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
gradio-app gradiobefore 6.20.0CVE List

All scores

VulnCheck4.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N
VulnCheck7.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Classification

CWE-601CWE-918

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Gradio anterior a la versión 6.20.0 contiene una vulnerabilidad de redirección abierta y de falsificación de petición del lado del servidor que permite a los atacantes redirigir a los usuarios a URL arbitrarias o realizar SSRF del lado del cliente al proporcionar URL HTTP/HTTPS no validadas a la función file_fetch() en el endpoint /gradio_api/file=. Los atacantes pueden elaborar una respuesta FileData maliciosa dirigida a endpoints internos, como servicios de metadatos en la nube, para recuperar credenciales sensibles, incluyendo credenciales de rol IAM de EC2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59806 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-59806 changed 2026-10-25Public domain