CVE-2026-59806
Published:July 08, 2026
Updated:August 04, 2026
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.
Affected Packages
gradio (CONDA):
Affected version(s) >=3.16.2 <6.20.0Fix Suggestion:
Update to version 6.20.0https://github.com/gradio-app/gradio.git (GITHUB):
Affected version(s) >=gradio@3.41.0 <gradio@6.20.0Fix Suggestion:
Update to version gradio@6.20.0gradio (PYTHON):
Affected version(s) >=0.1.0 <6.20.0Fix Suggestion:
Update to version 6.20.0Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.25