Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai

CVE-2024-4325Server-Side Request Forgery (SSRF) in gradio-app/gradio

High 8.6

In plain English

A high-severity server-side request forgery in gradio-app/gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 37.1% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.

Severity (CVSS 3.0)8.6High
Exploit odds (30 days)37.1%top 1.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

Official description

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within the `/queue/join` endpoint and the `save_url_to_cache` function. The vulnerability arises when the `path` value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgradiono fix listedGHSA-973g-55hp-3frw
PyPIgradiono fix listedPYSEC-2026-1413

Affected products (as reported)

VendorProductVersions
gradio-app gradio-app/gradio unspecified – through latest

Weakness: CWE-918 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

References