Vulnerabilities

CVE-2026-28415

Medium 4.7 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-02-27
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 14 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
gradio (PyPI) < 6.6.0 Affected
Gradio Project Gradio < 6.6.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1007: System Service Discovery discovery
  • T1014: Rootkit stealth
  • T1016: System Network Configuration Discovery discovery
  • T1018: Remote System Discovery discovery
  • T1027.009: Embedded Payloads stealth
  • T1033: System Owner/User Discovery discovery
  • T1036.005: Match Legitimate Resource Name or Location stealth
  • T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
  • T1046: Network Service Discovery discovery
  • T1049: System Network Connections Discovery discovery
  • T1057: Process Discovery discovery
  • T1069: Permission Groups Discovery discovery
  • T1080: Taint Shared Content lateral-movement
  • T1082: System Information Discovery discovery
  • T1083: File and Directory Discovery discovery
  • T1087: Account Discovery discovery
  • T1110: Brute Force credential-access
  • T1111: Multi-Factor Authentication Interception credential-access
  • T1120: Peripheral Device Discovery discovery
  • T1124: System Time Discovery discovery

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities