Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

CVE-2026-59806: URL Redirection to Untrusted Site ('Open Redirect') in gradio-app gradio

0
Medium
VulnerabilityCVE-2026-59806cvecve-2026-59806
Published: 07/08/2026 (07/08/2026, 19:43:32 UTC)
Source: CVE Database V5
Vendor/Project: gradio-app
Product: gradio

Description

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.

CVSS v4.0

Score 4.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
gradio
pkg:github/gradio
Affected versions
<6.20.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 09:59:47 UTC

Technical Analysis

CVE-2026-59806 is an open redirect and SSRF vulnerability in gradio-app's gradio product affecting versions before 6.20.0. The vulnerability exists in the file_fetch() function accessed via the /gradio_api/file= endpoint, which does not properly validate supplied HTTP/HTTPS URLs. This allows attackers to redirect users to arbitrary external URLs or perform SSRF attacks by crafting malicious FileData responses. Such SSRF attacks can target internal cloud metadata services to extract sensitive credentials, including EC2 IAM role credentials. The vulnerability has a CVSS 4.9 (medium) score and is present in cloud-hosted instances of gradio. The vendor manages patching for this cloud service.

Potential Impact

Successful exploitation can lead to user redirection to untrusted sites, potentially facilitating phishing or other social engineering attacks. More critically, the SSRF aspect allows attackers to access internal endpoints such as cloud metadata services, enabling retrieval of sensitive credentials like EC2 IAM role credentials. This can compromise cloud infrastructure security and lead to unauthorized access or privilege escalation within the cloud environment.

Mitigation Recommendations

Since gradio is a cloud-hosted service, the vendor manages remediation server-side. Users should ensure they are using gradio version 6.20.0 or later where this vulnerability is fixed. Check the vendor advisory for confirmation of patch deployment. No additional user action is required if using the cloud service and the vendor has applied the fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-07T14:39:14.062Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a4eafe9c9d9e3dbe3adea9c

Added to database: 07/08/2026, 20:15:37 UTC

Last enriched: 07/16/2026, 09:59:47 UTC

Last updated: 08/22/2026, 15:30:30 UTC

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses