PYSEC-2026-1419: SSRF Vulnerability in gradio-app/gradio
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 Software
Event History
Frequently Asked Questions
What access does an attacker need to exploit this issue?
The attack can be performed remotely without prior privileges, but it requires user interaction. The attacker manipulates the file parameter in a GET request.
What can an attacker learn through exploitation?
An attacker can scan internal network ports and infer whether ports are open. The response behavior, including a Location header or a File not allowed error, reveals port status.
How can I check whether an instance is being targeted or affected?
Review GET requests that supply manipulated or unexpected values in the file parameter. Responses containing a Location header or a File not allowed error in connection with such requests may indicate probing of internal ports.