CVE-2026-28415: gradio · Information Exposure
Affects gradioSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium : upgrade to 6.6.0 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.6.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade gradio to 6.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gradio-appgradio | Affected
| Fixed in
|
PyPIgradiopkg:pypi/gradioOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-28415, organizations should upgrade all Gradio deployments to version 6.6.0 or later, where the _target_url parameter is properly sanitized. For environments where immediate upgrade is not feasible, implement the following controls: 1) Apply strict input validation and sanitization on the _target_url parameter at the application or proxy level to restrict redirects to only trusted internal paths. 2) Employ Content Security Policy (CSP) headers to limit the domains to which users can be redirected. 3) Educate users about the risks of clicking on unexpected links, especially those appearing to redirect from trusted applications. 4) Monitor application logs for unusual redirect patterns or suspicious query parameters. 5) If possible, disable OAuth login buttons or restrict OAuth flows until the patch is applied. 6) Conduct regular security assessments and penetration testing focusing on authentication and redirection mechanisms. These targeted measures go beyond generic advice by focusing on the specific vulnerable parameter and the OAuth flow context.
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.