Skip to content
Submit incident
AII-1002-50959
ReportedReported by fewer than three independent publishers, with no official finding.Supporting sources are pending verification.

SSRF vulnerability in Gradio gr.DownloadButton

A server-side request forgery (SSRF) vulnerability was discovered in the gr.DownloadButton function in Gradio versions 4.42.0 and earlier. The save_url_to_cache function lacked URL restrictions, potentially allowing attackers to access local resources and sensitive information through the application.

31 October 2024 Β· Gradio Β· Security and cyberattacks
31 October 2024
AII-1002-50959
Quick facts
Organization
Gradio (subject)
Category
Security and cyberattacks
Date
31 October 2024
Drafted by
Raidu Incident Detection

What happened

The gr.DownloadButton function in Gradio versions 4.42.0 and earlier contains an SSRF vulnerability in the save_url_to_cache function. The function lacks URL restrictions, allowing access to local target resources without validation.

Reported impact

The vulnerability could allow unauthorized download of local resources and exposure of sensitive information. Attackers could exploit this by invoking the gr.DownloadButton with arbitrary URLs, potentially enabling SSRF attacks to access internal services.

Classification

Organization
Gradio (subject)
Category
Security and cyberattacks
Industry
IT infrastructure and hosting
Harm status
Potential harm
Intent
Unintentional
Timing
Unknown
Failure modes
Data leak
AI systems
Gradio

Sources and evidence

Sources not yet published

This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.

How sources are verifiedSuggest a source for this incident