All reports
Medium

gradio Server Side Request Forgery vulnerability

Affected versions

Version ranges need review.

Affected versions
<=4.42.0
Fixed version
Not reported
Affected versions
<= 4.42.0
Fixed version
Not reported

Exploitation

CVE-2024-48052

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-19

Description

In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the save_url_to_cache function, there are no restrictions on the URL, which allows access to local target resources. This can lead to the download of local resources and sensitive information.

Links