Skip to content
OpenAdvisories

Product · gradio-app

gradio

29 known vulnerabilities.

gradio at a glance

Last 12 months
8
Critical · all time
0
Exploited · all time
0
Public exploit · all time
1
New vulnerabilities per month · last 12 months
0 3 5 December 2025: 0 vulnerabilities Dec 2025 January 2026: 0 vulnerabilities February 2026: 4 vulnerabilities March 2026: 0 vulnerabilities Mar April 2026: 0 vulnerabilities May 2026: 1 vulnerability June 2026: 1 vulnerability Jun July 2026: 2 vulnerabilities August 2026: 0 vulnerabilities September 2026: 0 vulnerabilities Sep October 2026: 0 vulnerabilities November 2026: 0 vulnerabilities
Show as table
MonthVulnerabilitiesCritical
Nov 202600
Oct 202600
Sep 202600
Aug 202600
Jul 202620
Jun 202610
May 202610
Apr 202600
Mar 202600
Feb 202640
Jan 202600
Dec 202500
Nov 202500
Oct 202500
Sep 202500
Aug 202500
Jul 202500
Jun 202500
May 202520
Apr 202500
Mar 202500
Feb 202500
Jan 202510
Dec 202400

29 results · Feed

  • High 7.4

    Gradio < 6.20.0 - Open Redirect and SSRF via /gradio_api/file= endpoint

    Gradio before 6.20.0 contains an open redirect and server-side request forgery vulnerability that allows attackers to redirect users to arbitrary URLs or perform client-side SSRF by supplying unvalidated HTTP/HTTPS URLs to the file_fetch() function in the /gr…

  • High 7.5

    Gradio < 6.16.0 Path Traversal via FileExplorer.preprocess()

    Gradio before 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method that allows unauthenticated attackers to escape the configured root directory by supplying path segments containing directory traversal sequences o…

  • Low 2.5

    gradio-app gradio Audio Cache Key save_audio_to_cache weak hash

    A security flaw has been discovered in gradio-app gradio 6.14.0. This affects the function save_audio_to_cache of the component Audio Cache Key Handler. Performing a manipulation results in use of weak hash. The attack must be initiated from a local position.…

  • Medium 6.8

    Gradio < 6.15.0 Cookie Injection via Shared Proxy Client

    Gradio before version 6.15.0 contains a cookie injection vulnerability that allows remote attackers to perform cross-Space session fixation by exploiting a shared module-level HTTP client used across all users in the reverse proxy endpoint. Attackers controll…

  • High 8.2

    Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing

    Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in Gradio allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradi…

  • Medium 4.3

    Gradio has Open Redirect in OAuth Flow

    Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, the _redirect_to_target() function in Gradio's OAuth flow accepts an unvalidated _target_url query parameter, allowing redirection to arbitrary external URLs. This…

  • High 7.5
    CVE-2026-28414 Scanner template

    Gradio has Absolute Path Traversal on Windows with Python 3.13+

    Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.7, Gradio apps running on Window with Python 3.13+ are vulnerable to an absolute path traversal issue that enables unauthenticated attackers to read arbitrary files fro…

  • None 0.0

    Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret

    Gradio is an open-source Python package designed for quick prototyping. Starting in version 4.16.0 and prior to version 6.6.0, Gradio applications running outside of Hugging Face Spaces automatically enable "mocked" OAuth routes when OAuth components (e.g. `g…

  • Medium 5.3

    Gradio Allows Unauthorized File Copy via Path Manipulation

    Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Prior to version 5.31.0, an arbitrary file copy vulnerability in Gradio's flagging feature allo…

  • Low 3.7

    gradio-app gradio CORS is_valid_origin privilege escalation

    A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to erweiterte Rechte. It is possible …

  • High 8.7

    Gradio Blocked Path ACL Bypass Vulnerability

    Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Gradio's Access Control List (ACL) for file paths can be bypassed by altering the letter case o…

  • Medium 6.5

    Arbitrary file read with File and UploadButton components in Gradio

    Gradio is an open-source Python package designed to enable quick builds of a demo or web application. If File or UploadButton components are used as a part of Gradio application to preview file content, an attacker with access to the application might abuse t…

  • Low 2.1

    Lack of integrity check on the downloaded FRP client in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability is a **lack of integrity check** on the downloaded FRP client, which could potentially allow attackers to introduce malicious code. If an attacker gains access to the r…

  • Medium 6.3

    Several components’ post-process steps may allow arbitrary file leaks in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This is a **data validation vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. Attackers can exploit these components…

  • Low 2.3

    Non-constant-time comparison when comparing hashes in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **timing attack** in the way Gradio compares hashes for the `analytics_dashboard` function. Since the comparison is not done in constant time, an attacker co…

  • High 7.1

    Race condition in update_root_in_config may redirect user traffic in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL used by the Gradio frontend to communicate with the…

  • High 8.2

    Insecure communication between the FRP client and server in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the conne…

  • Medium 6.9

    Cross-site Scripting on Gradio server via upload of HTML files, JS files, or SVG files

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **Cross-Site Scripting (XSS)** on any Gradio server that allows file uploads. Authenticated users can upload files such as HTML, JavaScript, or SVG files conta…

  • Medium 6.9

    CORS origin validation is not performed when the request has a cookie in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to ma…

  • Low 2.3

    The `is_in_or_equal` function may be bypassed in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to the **bypass of directory traversal checks** within the `is_in_or_equal` function. This function, intended to check if a file resides within a given director…

  • Medium 6.9

    CORS origin validation accepts the null origin in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **CORS origin validation accepting a null origin**. When a Gradio server is deployed locally, the `localhost_aliases` variable includes "null" as a valid ori…

  • Low 2.3

    One-level read path traversal in `/custom_component` in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **one-level read path traversal** in the `/custom_component` endpoint. Attackers can exploit this flaw to access and leak source code from custom Gradio comp…

  • Medium 6.9
    CVE-2024-47167 Public exploit

    SSRF in the path parameter of /queue/join in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side Request Forgery (SSRF)** in the `/queue/join` endpoint. Gradio’s `async_save_url_to_cache` function allows attackers to force the Gradio server…

  • Low 2.3

    The `enable_monitoring` flag set to `False` does not disable monitoring in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves data exposure due to the enable_monitoring flag not properly disabling monitoring when set to False. Even when monitoring is supposedly disabled, an attacker o…

  • Medium 5.6
    CVE-2023-51449 Scanner template EPSS 28%

    Make the `/file` secure against file traversal attacks

    Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. Versions of `gradio` prior to 4.11.0 contained a vulnerability in the `/file` route which…

  • High 7.3

    Unfiltered paths in gradio

    Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. …

  • Medium 5.4

    Gradio contains Use of Hard-coded Credentials

    Gradio is an open-source Python library to build machine learning and data science demos and web applications. Versions prior to 3.13.1 contain Use of Hard-coded Credentials. When using Gradio's share links (i.e. creating a Gradio app and then setting `share=…

  • High 8.8

    Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging

    `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Improper Neutralization of Formula Elements in a CSV File. The `gradio` library has a flagging functionality which …

  • High 7.7
    CVE-2021-43831 Scanner template

    Files on the host computer can be accessed from the Gradio interface

    Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users w…