Advisory

GHSA-3gf9-wv65-gwh9

Also known as: CVE-2024-48052, PYSEC-2026-1408

Summary

gradio Server Side Request Forgery vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-11-05 00:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, last affected 4.42.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences