Open Redirect Affecting gradio package, versions [,6.6.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

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-15366398
  • published2 Mar 2026
  • disclosed28 Feb 2026
  • creditAakash Japi

Introduced: 28 Feb 2026

CVE-2026-28415  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade gradio to version 6.6.0 or higher.

Overview

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

Affected versions of this package are vulnerable to Open Redirect via the _redirect_to_target function in the OAuth flow, which accepts an unvalidated _target_url query parameter. An attacker can redirect users to arbitrary external URLs by supplying a malicious link to the /logout or /login/callback endpoints when OAuth is enabled.

CVSS Base Scores

version 4.0
version 3.1