HighGHSA-973g-55hp-3frwCVE-2024-4325PYSEC-2026-1413

Server-Side Request Forgery in gradio

Published 6 Jun 2024 · Updated 10 Sept 2026

Is your project on an affected gradio?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

gradioPyPI
Affected
<=4.36.0
Fixed in
No fix released

Details

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.

Is GHSA-973g-55hp-3frw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gradio, and gives you the command that fixes it.

More advisories for gradio

  • HighCVE-2026-49119 Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks · 1 Jul 2026
  • LowCVE-2026-10783Gradio: Audio cache key ignores metadata when saving numpy audio outputs · 4 Jun 2026
  • HighCVE-2026-48545Gradio contains a cookie injection vulnerability · 27 May 2026
  • HighCVE-2026-28416Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing · 1 Mar 2026
  • MediumCVE-2026-28415Gradio has an Open Redirect in its OAuth Flow · 1 Mar 2026
  • HighCVE-2026-28414Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ · 1 Mar 2026
All 52 advisories for gradio

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.