Skip to content
OpenAdvisories
High · 8.6 Scanner template CVE-2024-4325 EUVD-2024-1995GHSA-973g-55hp-3frwPYSEC-2026-1413

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

Published Jun 6, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
gradio-app gradio-app/gradio unspecified – ≤ latest —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gradio <= 4.36.0 — GHSA-973g-55hp-3frw

References