Advisory

PYSEC-2026-1413

Also known as: CVE-2024-4325, GHSA-973g-55hp-3frw

Summary

Server-Side Request Forgery in gradio

Details

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio and was discovered in version 4.21.0, specifically within the /queue/join endpoint and the save_url_to_cache function. The vulnerability arises when the path value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, last affected 4.36.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: PyPA Advisory Database · CC BY 4.0

Sources & licences