Launch Week Day 1: Announcing Security Design Review
MEDIUM 6.5 PyPI

gradio Server Side Request Forgery vulnerability

GHSA-3gf9-wv65-gwh9 · CVE-2024-48052

Published · Modified

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes