gradio: known vulnerabilities and the safe version

PyPI52 records

The version to be on

Version 6.16.0 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade gradio with pip

pip install --upgrade "gradio>=6.16.0"
pip show gradio | grep Version

Pin it in requirements.txt

gradio>=6.16.0

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch gradio

Get an email only when gradio has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in gradio and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for gradio

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/gradio/badge/)](https://securityelites.com/ai-vulnerabilities/package/gradio/)

All records

  • Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacksUnknown · CVE-2026-49119 · fixed in 6.16.0 · 2 Jul 2026
  • Gradio: Audio cache key ignores metadata when saving numpy audio outputsUnknown · CVE-2026-10783 · no fix recorded · 4 Jun 2026
  • Gradio contains a cookie injection vulnerabilityUnknown · CVE-2026-48545 · fixed in 6.15.0 · 27 May 2026
  • Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config ProcessingUnknown · CVE-2026-28416 · fixed in 6.6.0 · 1 Mar 2026
  • Gradio has an Open Redirect in its OAuth FlowUnknown · CVE-2026-28415 · fixed in 6.6.0 · 1 Mar 2026
  • Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+Unknown · CVE-2026-28414 · fixed in 6.7.0 · 1 Mar 2026
  • Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session SecretUnknown · CVE-2026-27167 · fixed in 6.6.0 · 1 Mar 2026
  • Gradio Allows Unauthorized File Copy via Path ManipulationUnknown · CVE-2025-48889 · fixed in 5.31.0 · 30 May 2025
  • Gradio CORS Origin Validation Bypass VulnerabilityUnknown · CVE-2025-5320 · no fix recorded · 29 May 2025
  • Gradio DOS in multipart boundry while uploading the fileUnknown · CVE-2024-8966 · no fix recorded · 20 Mar 2025
  • Gradio Vulnerable to Open RedirectUnknown · CVE-2024-8021 · no fix recorded · 20 Mar 2025
  • Gradio Path Traversal vulnerabilityUnknown · CVE-2024-12217 · no fix recorded · 20 Mar 2025
  • Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip BombUnknown · CVE-2024-10569 · no fix recorded · 20 Mar 2025
  • Gradio Vulnerable to Arbitrary File DeletionUnknown · CVE-2024-10648 · no fix recorded · 20 Mar 2025
  • Gradio Vulnerable to Denial of Service (DoS) via Crafted HTTP RequestUnknown · CVE-2024-10624 · no fix recorded · 20 Mar 2025
  • Gradio Blocked Path ACL Bypass VulnerabilityUnknown · CVE-2025-23042 · fixed in 5.6.0 · 14 Jan 2025
  • Gradio vulnerable to arbitrary file read with File and UploadButton componentsUnknown · CVE-2024-51751 · fixed in 5.5.0 · 6 Nov 2024
  • gradio Server Side Request Forgery vulnerabilityUnknown · CVE-2024-48052 · no fix recorded · 5 Nov 2024
  • Gradio's dropdown component pre-process step does not limit the values to those in the dropdown listLow · GHSA-26jh-r8g2-6fpr · fixed in 5.0.0 · 11 Oct 2024
  • Gradio has an XSS on every Gradio server via upload of HTML files, JS files, or SVG filesUnknown · CVE-2024-47872 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio uses insecure communication between the FRP client and serverUnknown · CVE-2024-47871 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio has a race condition in update_root_in_config may redirect user trafficUnknown · CVE-2024-47870 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio performs a non-constant-time comparison when comparing hashesUnknown · CVE-2024-47869 · fixed in 4.44.0 · 11 Oct 2024
  • Gradio has several components with post-process steps allow arbitrary file leaksUnknown · CVE-2024-47868 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio lacks integrity checking on the downloaded FRP clientUnknown · CVE-2024-47867 · fixed in 5.0.0 · 11 Oct 2024
  • In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoringUnknown · CVE-2024-47168 · fixed in 4.44.0 · 11 Oct 2024
  • Gradio vulnerable to SSRF in the path parameter of /queue/joinUnknown · CVE-2024-47167 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio has a one-level read path traversal in `/custom_component`Unknown · CVE-2024-47166 · fixed in 4.44.0 · 11 Oct 2024
  • Gradio's CORS origin validation accepts the null originUnknown · CVE-2024-47165 · fixed in 5.0.0 · 11 Oct 2024
  • Gradio's `is_in_or_equal` function may be bypassedUnknown · CVE-2024-47164 · fixed in 5.0.0 · 11 Oct 2024
  • Gradios's CORS origin validation is not performed when the request has a cookieUnknown · CVE-2024-47084 · fixed in 4.44.0 · 11 Oct 2024
  • Gradio allows users to access arbitrary filesUnknown · CVE-2024-1728 · fixed in 4.19.2 · 26 Sep 2024
  • Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meUnknown · CVE-2024-39236 · no fix recorded · 2 Jul 2024
  • Open redirect in gradioUnknown · CVE-2024-4940 · no fix recorded · 22 Jun 2024
  • Local file inclusion in gradioUnknown · CVE-2024-4941 · fixed in 4.31.4 · 7 Jun 2024
  • Server-Side Request Forgery in gradioUnknown · CVE-2024-4325 · no fix recorded · 7 Jun 2024
  • A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-fuUnknown · CVE-2024-4253 · fixed in 4.29.0 · 4 Jun 2024
  • Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading filesUnknown · CVE-2024-1727 · fixed in 4.19.2 · 21 May 2024
  • Gradio allows credential leakage on WindowsUnknown · CVE-2024-34510 · fixed in 4.20.0 · 6 May 2024
  • Gradio's Component Server does not properly consider` _is_server_fn` for functionsUnknown · CVE-2024-34511 · fixed in 4.13.0 · 6 May 2024
  • gradio vulnerable to Path TraversalUnknown · CVE-2024-1561 · fixed in 4.13.0 · 16 Apr 2024
  • gradio Server-Side Request Forgery vulnerabilityUnknown · CVE-2024-1183 · fixed in 4.10.0 · 16 Apr 2024
  • gradio Server-Side Request Forgery vulnerabilityUnknown · CVE-2024-2206 · fixed in 4.18.0 · 27 Mar 2024
  • Gradio apps vulnerable to timing attacks to guess passwordUnknown · CVE-2024-1729 · fixed in 4.19.2 · 23 Feb 2024
  • Gradio Path Traversal vulnerabilityUnknown · CVE-2024-0964 · no fix recorded · 6 Feb 2024
  • Gradio makes the `/file` secure against file traversal and server-side request forgery attacksUnknown · CVE-2023-51449 · fixed in 4.11.0 · 21 Dec 2023
  • Gradio Exposure of Sensitive Information to an Unauthorized Actor vulnerabilityUnknown · CVE-2023-6572 · fixed in 4.14.0 · 14 Dec 2023
  • Gradio arbitrary file upload vulnerabilityUnknown · CVE-2023-41626 · no fix recorded · 16 Sep 2023
  • Gradio vulnerable to arbitrary file read and proxying of arbitrary URLsUnknown · CVE-2023-34239 · fixed in 3.34.0 · 10 Jun 2023
  • Update share links to use FRP instead of SSH tunnelingUnknown · CVE-2023-25823 · fixed in 3.13.1 · 24 Feb 2023
  • Improper Neutralization of Formula Elements in a CSV File in Gradio FlaggingUnknown · CVE-2022-24770 · fixed in 2.8.11 · 19 Mar 2022
  • Files on the host computer can be accessed from the Gradio interfaceUnknown · CVE-2021-43831 · fixed in 2.5.0 · 22 Jan 2022