Skip to main content

Gradio EUVDEUVD-2026-42376

| CVE-2026-59806 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-07-08 disclosure@vulncheck.com GHSA-rj25-5m4j-hcxq
4.9
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
4.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.2 HIGH

Network-reachable with no privileges; user interaction required (browser redirect); scope change to subsequent cloud system with high confidentiality loss via IAM credentials and low integrity via open redirect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

2
Patch available
Jul 08, 2026 - 21:04 EUVD
Analysis Generated
Jul 08, 2026 - 21:00 vuln.today

DescriptionCVE.org

Gradio before 6.20.0 contains an open redirect and server-side request forgery vulnerability that allows attackers to redirect users to arbitrary URLs or perform client-side SSRF by supplying unvalidated HTTP/HTTPS URLs to the file_fetch() function in the /gradio_api/file= endpoint. Attackers can craft a malicious FileData response targeting internal endpoints such as cloud metadata services to retrieve sensitive credentials including EC2 IAM role credentials.

AnalysisAI

Open redirect and client-side SSRF in Gradio before 6.20.0 expose cloud infrastructure credentials to network attackers via the /gradio_api/file= endpoint. The file_fetch() function accepts unvalidated HTTP/HTTPS URLs from attacker-controlled FileData responses, enabling redirection of victim browsers to arbitrary destinations including cloud metadata services such as the EC2 instance metadata endpoint (169.254.169.254). Successful exploitation in cloud-hosted Gradio deployments allows retrieval of IAM role credentials, achieving high subsequent-system confidentiality impact. No public exploit or CISA KEV listing is identified at time of analysis; a fix is available in version 6.20.0.

Technical ContextAI

Gradio is a Python framework widely used in the AI/ML ecosystem to build and share interactive ML model demos, predominantly deployed on cloud platforms (Hugging Face Spaces, AWS, GCP). The vulnerability (CWE-601: URL Redirection to Untrusted Site) resides in the file_fetch() function exposed at the /gradio_api/file= endpoint. When Gradio processes a FileData object whose url field is attacker-controlled, it forwards the unvalidated URL directly to the client browser without allowlist validation or scheme restriction. This permits two attack classes: (1) open redirect - victim browser is sent to an arbitrary external site, enabling phishing; (2) client-side SSRF - victim browser is directed to internal network resources such as the AWS EC2 instance metadata service (http://169.254.169.254/latest/meta-data/iam/security-credentials/), leaking temporary IAM role credentials. The CVSS 4.0 vector AV:N/AC:L/AT:P/PR:N/UI:P reflects network-reachable exploitation with passive user interaction and a specific attack requirement, while subsequent-system confidentiality (SC:H) captures the IAM credential exposure rather than the Gradio host itself.

RemediationAI

The primary fix is to upgrade Gradio to version 6.20.0 or later, which introduces validation of URLs supplied to file_fetch() to block unvalidated HTTP/HTTPS redirects. The patched release is confirmed at https://github.com/gradio-app/gradio/releases/tag/gradio%406.20.0. For deployments that cannot immediately upgrade, a concrete compensating control is to restrict network egress from client browsers to link-local ranges (169.254.0.0/16) at the WAF or network layer, preventing cloud metadata access - note this does not mitigate the open redirect path. Additionally, placing Gradio behind an authenticated reverse proxy (requiring login before reaching /gradio_api/file=) eliminates unauthenticated exploitation of the SSRF path, at the cost of restricting public demo access. Cloud deployments should audit IAM roles attached to instances running Gradio and apply least-privilege policies to limit the impact of any credential exposure.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

CVE-2024-22891 CRITICAL POC
9.8 Mar 01

Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit

Share

EUVD-2026-42376 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy