---
id: CVE-2024-4325
aliases:
  - GHSA-973g-55hp-3frw
  - PYSEC-2026-1413
title: Server-Side Request Forgery in gradio
summary: Server-Side Request Forgery in gradio
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
vendor: gradio
product: gradio
ecosystem: pip
affected:
  - gradio <= 4.36.0
published: '2024-06-06'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:15.170801808Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-973g-55hp-3frw'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-4325'
  - url: 'https://github.com/gradio-app/gradio/pull/8301'
  - url: 'https://github.com/gradio-app/gradio'
  - url: 'https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.37366
epssPercentile: 0.98476
exploits:
  nuclei:
    - CVE-2024-4325
  checkedAt: '2026-09-25T08:20:43.412Z'
exploitAvailable: true
ingestedAt: '2026-07-08T18:25:47.775Z'
---

## Overview

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio and was discovered in 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

- `gradio <= 4.36.0`

## Remediation

Refer to the advisory for the patched release.
