Open Redirect Affecting gradio package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GRADIO-9510951
  • published23 Mar 2025
  • disclosed20 Mar 2025
  • creditD3lT4

Introduced: 20 Mar 2025

NewCVE-2024-8021  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

There is no fixed version for gradio.

Overview

gradio is a Python library for easily interacting with trained machine learning models

Affected versions of this package are vulnerable to Open Redirect. The validate_url() function can be forced to follow a redirect to an unintended site if the URL is passed to the file parameter and includes URL encoding.

PoC

http://localhost:7860/file=http%3A%2F%2Fgoogle.com

CVSS Base Scores

version 4.0
version 3.1