CVE-2024-48052
Gradio vulnerability analysis and mitigation

Overview

CVE-2024-48052 affects Gradio versions 4.42.0 and earlier, specifically involving a Server-Side Request Forgery (SSRF) vulnerability in the gr.DownloadButton function. The vulnerability was discovered and disclosed in November 2024, impacting the Gradio application framework (GitHub Gist).

Technical details

The vulnerability exists within the save_url_to_cache function of the gr.DownloadButton component. The core issue stems from the lack of URL restrictions in the save_url_to_cache function, which allows unrestricted access to local target resources. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability can lead to unauthorized access to local resources and potential exposure of sensitive information. Attackers can exploit this flaw to download local resources and access sensitive data through SSRF attacks (GitHub Gist).

Exploitability

The SSRF vulnerability can be triggered by invoking the gr.DownloadButton with an arbitrary URL, taking advantage of the lack of validation in save_url_to_cache. This allows attackers to make requests to internal services and potentially access restricted resources (GitHub Gist).

Mitigation and workarounds

Users should upgrade to a version newer than 4.42.0 when available. As this is a recently disclosed vulnerability, users should monitor the official Gradio repository for security updates and patches (NVD).

Additional resources


SourceThis report was generated using AI

Related Gradio vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-49119HIGH8.7
  • Gradio logoGradio
  • gradio
NoYesJul 01, 2026
CVE-2026-28416HIGH8.6
  • Gradio logoGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-48545HIGH7.6
  • Gradio logoGradio
  • gradio
NoYesMay 27, 2026
CVE-2026-28415MEDIUM4.7
  • Gradio logoGradio
  • gradio
NoYesFeb 27, 2026
CVE-2026-10783LOW1.1
  • Gradio logoGradio
  • gradio
NoYesJun 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management