ADVISORIES

PyPA Advisory Database

PYSEC-2026-1419

gradio Server-Side Request Forgery vulnerability

Details

An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.

Affected packages

EcosystemPackageAffected versions
PyPIgradio
All versions before 4.10.0 (fixed in 4.10.0)

References