VYPR

Gradio

by Gradio Project

Source repositories

CVEs (50)

  • CVE-2021-43831HigDec 15, 2021
    risk 0.43cvss 7.7epss 0.04

    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 who receive a Gradio…

  • CVE-2026-28414HigFeb 27, 2026
    risk 0.42cvss 7.5epss 0.03

    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 from the file system.…

  • CVE-2025-23042HigJan 14, 2025
    risk 0.42cvss 7.5epss 0.01

    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 of a blocked file or…

  • CVE-2024-48052MedNov 4, 2024
    risk 0.42cvss 6.5epss 0.00

    In gradio <=4.42.0, the gr.DownloadButton function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the save_url_to_cache function, there are no restrictions on the URL, which allows access to local target resources. This can lead to the…

  • CVE-2024-4941HigJun 6, 2024
    risk 0.42cvss 7.5epss 0.01

    A local file inclusion vulnerability exists in the JSON component of gradio-app/gradio version 4.25. The vulnerability arises from improper input validation in the `postprocess()` function within `gradio/components/json_component.py`, where a user-controlled string is parsed as…

  • CVE-2024-1561HigApr 16, 2024
    risk 0.42cvss 7.5epss 0.09

    An issue was discovered in gradio-app/gradio, where the `/component_server` endpoint improperly allows the invocation of any method on a `Component` class with attacker-controlled arguments. Specifically, by exploiting the `move_resource_to_block_cache()` method of the `Block`…

  • CVE-2023-34239HigJun 8, 2023
    risk 0.41cvss 7.3epss 0.01

    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. These issues have…

  • CVE-2024-8021MedMar 20, 2025
    risk 0.40cvss 6.1epss 0.01

    An open redirect vulnerability exists in the latest version of gradio-app/gradio. The vulnerability allows an attacker to redirect users to a malicious website by URL encoding. This can be exploited by sending a crafted request to the application, which results in a 302 redirect…

  • CVE-2024-4940MedJun 22, 2024
    risk 0.40cvss 6.1epss 0.01

    An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery…

  • CVE-2026-48545MedMay 27, 2026
    risk 0.37cvss 6.8epss 0.00

    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 controlling any HF Space can…

  • CVE-2024-51751MedNov 6, 2024
    risk 0.35cvss 6.5epss 0.01

    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 these components to…

  • CVE-2024-47872MedOct 10, 2024
    risk 0.35cvss 5.4epss 0.00

    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 containing malicious…

  • CVE-2024-47165MedOct 10, 2024
    risk 0.35cvss 5.4epss 0.00

    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 origin. This allows…

  • CVE-2024-47164MedOct 10, 2024
    risk 0.35cvss 6.5epss 0.01

    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 directory, can be bypassed…

  • CVE-2024-1183MedApr 16, 2024
    risk 0.35cvss 6.5epss 0.02

    An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal…

  • CVE-2024-2206MedMar 27, 2024
    risk 0.35cvss 6.5epss 0.00

    An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and…

  • CVE-2023-25823MedFeb 23, 2023
    risk 0.35cvss 5.4epss 0.01

    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=True`), a private…

  • CVE-2024-47166MedOct 10, 2024
    risk 0.34cvss 5.3epss 0.00

    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 components by…

  • CVE-2023-51449MedDec 22, 2023
    risk 0.32cvss 5.6epss 0.28

    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 made them…

  • CVE-2024-1729MedMar 29, 2024
    risk 0.31cvss 5.9epss 0.01

    A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`app.auth[username] == password`) to validate user credentials, which can be…