PYSEC-2026-1419: SSRF Vulnerability in gradio-app/gradio

Published Apr 16, 2024
·
Updated

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

1 affected component
gradio-app gradio

Event History

Apr 16, 2024
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203