Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 4.9epss 0.2%
exploitation probability
0.2%top 84% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N
Affected products
gradio-app · gradiopublic PoCs found — 1
cve_referencegithub.com/gradio-app/gradio/issues/13593unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/gradio-app/gradio/commit/1c5c53842df9c2750552d85c19a92e7e732cff3fhttps://github.com/gradio-app/gradio/issues/13593https://github.com/gradio-app/gradio/pull/13596https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0https://www.vulncheck.com/advisories/gradio-open-redirect-and-ssrf-via-gradio-api-file-endpoint