Open Redirect Affecting gradio package, versions [,6.20.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (16th 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-17901455
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditGeorge Chen

Introduced: 8 Jul 2026

NewCVE-2026-59806  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade gradio to version 6.20.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 file_fetch function in the /gradio_api/file= endpoint. An attacker can redirect users to arbitrary URLs or access internal resources and retrieve sensitive credentials by supplying crafted HTTP or HTTPS URLs.

CVSS Base Scores

version 4.0
version 3.1