Live threats

All CVEs / Gradio Project

CVE-2026-28415Gradio Project Gradio

Medium 4.7 No auth needed

Priority
43
CVSS 3.1
4.7
EPSS
—
Auth required
No
Published
Feb 27, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-284, CWE-330, CWE-601
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

What happens

Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, the _redirect_to_target() function in Gradio's OAuth flow accepts an unvalidated _target_url query parameter, allowing redirection to arbitrary external URLs. This affects the /logout and /login/callback endpoints on Gradio apps with OAuth enabled (i.e. apps running on Hugging Face Spaces with gr.LoginButton). Starting in version 6.6.0, the _target_url parameter is sanitized to only use the path, query, and fragment, stripping any scheme or host.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gradio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gradio < 6.6.0 6.6.0 pip install "gradio>=6.6.0"
PyPI gradio < 6.6.0 6.6.0 pip install "gradio>=6.6.0"

Per OSV / GitHub Advisories (GHSA-pfjf-5gxr-995x, PYSEC-2026-65). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio< 6.6.0

Official sources

References

Links published by the sources. Open them with care.