Skip to content
Heist/ feed
High

Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-59806

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-59806

gradio

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/gradio-app/gradio",
    "vendor": "gradio-app",
    "product": "gradio",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "6.20.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:pypi/gradio",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-59806

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12989 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement