{"id":"CVE-2024-48052","aliases":["GHSA-3gf9-wv65-gwh9","PYSEC-2026-1408"],"title":"gradio Server Side Request Forgery vulnerability","summary":"gradio Server Side Request Forgery vulnerability","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","vendor":"gradio","product":"gradio","ecosystem":"pip","affected":["gradio <= 4.42.0"],"published":"2024-11-05","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:20.274477958Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-3gf9-wv65-gwh9","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48052"},{"url":"https://gist.github.com/AfterSnows/45ffc23797f9127e00755376cc610e12"},{"url":"https://github.com/gradio-app/gradio"},{"url":"https://rumbling-slice-eb0.notion.site/FULL-SSRF-in-gr-DownloadButton-in-gradio-app-gradio-870b21e0908b48cbafd914719ac1a4e6?pvs=4"}],"tags":["osv","pip"],"epss":0.0047,"epssPercentile":0.39712,"ingestedAt":"2026-07-08T18:25:44.906Z","slug":"CVE-2024-48052","body":"## Overview\n\nIn 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.\n\n## Affected packages\n\n- `gradio <= 4.42.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}