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

- Severity: High 8.6 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 37.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T17:55:29.815Z
- Modified: 2026-09-10T03:50:15.170Z
- Also known as: GHSA-973g-55hp-3frw, PYSEC-2026-1413
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- gradio-app gradio-app/gradio: from unspecified up to latest
- gradio_project gradio: up to 4.21.0; before 4.41.0
- gradio (PyPI): up to 4.36.0

## Every score

- @huntr_ai: CVSS:3.0 8.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.0 8.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 8.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4325> (advisory)
- <https://github.com/gradio-app/gradio/pull/8301> (web)
- <https://github.com/gradio-app/gradio> (package)
- <https://pypi.org/project/gradio> (package)
- <https://github.com/advisories/GHSA-973g-55hp-3frw> (advisory)

## Sources

- CVE List: [CVE-2024-4325](https://www.cve.org/CVERecord?id=CVE-2024-4325), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-973g-55hp-3frw](https://github.com/advisories/GHSA-973g-55hp-3frw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-4325](https://nvd.nist.gov/vuln/detail/CVE-2024-4325), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1413](https://osv.dev/vulnerability/PYSEC-2026-1413), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-4325 · Whole record: https://cve.day/CVE-2024-4325.json · Rebuilt by cve.day 2026-11-25T22:58:41.490Z
