Vulnerabilities · 2024 · Gradio Project
CVE-2024-48052
Gradio Project Gradio vulnerability
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.
Affected products
Gradio. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/AfterSnows/45ffc23797f9127e00755376cc610e12 · Third Party Advisory
- rumbling-slice-eb0.notion.site/FULL-SSRF-in-gr-DownloadButton-in-gradio-app-gradio-870b21e · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-48052
- github.com/advisories/GHSA-3gf9-wv65-gwh9
- nvd.nist.gov/vuln/detail/CVE-2024-48052
- cve.org/CVERecord?id=CVE-2024-48052
More vulnerabilities in Gradio Project products
CVE-2025-48889CVE-2025-23042CVE-2025-0187CVE-2024-51751CVE-2024-47872CVE-2024-47871CVE-2024-47870CVE-2024-47869All 42
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.