Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-48052 EUVD-2024-3183GHSA-3gf9-wv65-gwh9PYSEC-2026-1408

gradio Server Side Request Forgery vulnerability

Published Nov 4, 2024 · Updated Nov 6, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio <= 4.42.0 — GHSA-3gf9-wv65-gwh9

References