gradio
PyPI37 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting gradiopage 1 of 1
- CVE-2021-43831HIGHCVSS 7.7EG 7.7✓ Fixed in 2.5.02021-12-15
vulnerable: 0.1.0 ... 2.4.7b9 (163 versions)
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 re…
- CVE-2022-24770HIGHCVSS 8.8EG 8.8✓ Fixed in 2.8.112022-03-17
vulnerable: 0.1.0 ... 2.8.9 (209 versions)
`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 …
- CVE-2023-25823MEDIUMCVSS 5.4EG 5.4✓ Fixed in 3.13.12023-02-23
vulnerable: 0.1.0 ... 3.9.1 (386 versions)
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 …
- CVE-2023-34239HIGHCVSS 7.3EG 7.3✓ Fixed in 3.34.02023-06-08
vulnerable: 0.1.0 ... 3.9.1 (439 versions)
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 wha…
- CVE-2023-41626MEDIUMCVSS 4.8EG 4.82023-09-15
vulnerable: 0.1.0 ... 3.9.1 (428 versions)
Gradio v3.27.0 was discovered to contain an arbitrary file upload vulnerability via the /upload interface.
- CVE-2023-51449MEDIUMCVSS 5.6EG 5.6✓ Fixed in 4.11.02023-12-22
vulnerable: 0.1.0 ... 4.9.1 (506 versions)
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…
- CVE-2023-6572HIGHCVSS 8.1EG 8.1✓ Fixed in 4.14.02023-12-14
vulnerable: 0.1.0 ... 4.9.1 (509 versions)
Command Injection in GitHub repository gradio-app/gradio prior to main.
- CVE-2024-0964CRITICALCVSS 9.4EG 9.42024-02-05
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
- CVE-2024-1183MEDIUMCVSS 6.5EG 6.5✓ Fixed in 4.10.02024-04-16
vulnerable: 0.1.0 ... 4.9.1 (505 versions)
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 attack…
- CVE-2024-12217MEDIUMCVSS 5.3EG 5.32025-03-20
vulnerable: 0.1.0 ... 5.0.1 (556 versions)
A vulnerability in the gradio-app/gradio repository, version git 67e4044, allows for path traversal on Windows OS. The implementation of the blocked_path functionality, which is intended to disallow users from reading certain files, is fla…
- CVE-2024-1561HIGHCVSS 7.5EG 9.0✓ Fixed in 4.13.02024-04-16
vulnerable: 0.1.0 ... 4.9.1 (508 versions)
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_t…
- CVE-2024-1727MEDIUMCVSS 4.3EG 4.3✓ Fixed in 4.19.22024-03-21
vulnerable: 0.1.0 ... 4.9.1 (516 versions)
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized…
- CVE-2024-1728HIGHCVSS 7.5EG 9.0✓ Fixed in 4.19.22024-04-10
vulnerable: 0.1.0 ... 4.9.1 (508 versions)
gradio-app/gradio is vulnerable to a local file inclusion vulnerability due to improper validation of user-supplied input in the UploadButton component. Attackers can exploit this vulnerability to read arbitrary files on the filesystem, su…
- CVE-2024-1729MEDIUMCVSS 5.9EG 5.9✓ Fixed in 4.19.22024-03-29
vulnerable: 0.1.0 ... 4.9.1 (516 versions)
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 val…
- CVE-2024-2206MEDIUMCVSS 6.5EG 6.5✓ Fixed in 4.18.02024-03-27
vulnerable: 0.1.0 ... 4.9.1 (513 versions)
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-Ur…
- CVE-2024-34510HIGHCVSS 7.5EG 7.5✓ Fixed in 4.20.02024-05-05
vulnerable: 0.1.0 ... 4.9.1 (509 versions)
Gradio before 4.20 allows credential leakage on Windows.
- CVE-2024-39236CRITICALCVSS 9.8EG 9.82024-07-01
vulnerable: 0.1.0 ... 4.9.1 (536 versions)
Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. This vulnerability is triggered via a crafted input. NOTE: the supplier disputes this because the report is about a user a…
- CVE-2024-4325HIGHCVSS 8.6EG 8.62024-06-06
vulnerable: 0.1.0 ... 4.9.1 (543 versions)
A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within the `/queue/join` endpoint and the `save_url_to_cache` function. The vulnerability arises when the `path` value, obtaine…
- CVE-2024-47084HIGHCVSS 8.3EG 8.3✓ Fixed in 4.44.02024-10-10
vulnerable: 0.1.0 ... 4.9.1 (545 versions)
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 atta…
- CVE-2024-47164MEDIUMCVSS 6.5EG 6.5✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 wit…
- CVE-2024-47165MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 "…
- CVE-2024-47166MEDIUMCVSS 5.3EG 5.3✓ Fixed in 4.44.02024-10-10
vulnerable: 0.1.0 ... 4.9.1 (545 versions)
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 fro…
- CVE-2024-47167CRITICALCVSS 9.8EG 9.8✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 f…
- CVE-2024-47168MEDIUMCVSS 4.3EG 4.3✓ Fixed in 4.44.02024-10-10
vulnerable: 0.1.0 ... 4.9.1 (545 versions)
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 dis…
- CVE-2024-47867HIGHCVSS 7.5EG 7.5✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 g…
- CVE-2024-47868HIGHCVSS 7.5EG 7.5✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 expl…
- CVE-2024-47869LOWCVSS 3.7EG 3.7✓ Fixed in 4.44.02024-10-10
vulnerable: 0.1.0 ... 4.9.1 (545 versions)
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 …
- CVE-2024-47870HIGHCVSS 8.1EG 8.1✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 …
- CVE-2024-47871CRITICALCVSS 9.1EG 9.1✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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 e…
- CVE-2024-47872MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.0.02024-10-10
vulnerable: 0.1.0 ... 5.0.0b9 (554 versions)
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…
- CVE-2024-48052MEDIUMCVSS 6.5EG 6.52024-11-04
vulnerable: 0.1.0 ... 4.9.1 (552 versions)
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 …
- CVE-2024-4940MEDIUMCVSS 6.1EG 5.42024-06-22
vulnerable: 0.1.0 ... 4.9.1 (544 versions)
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 (…
- CVE-2024-4941HIGHCVSS 7.5EG 7.5✓ Fixed in 4.31.42024-06-06
vulnerable: 0.1.0 ... 4.9.1 (527 versions)
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`, wher…
- CVE-2024-51751MEDIUMCVSS 6.5EG 6.5✓ Fixed in 5.5.02024-11-06
vulnerable: 5.0.0 ... 5.4.0 (6 versions)
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 appli…
- CVE-2025-23042HIGHCVSS 7.5EG 7.5✓ Fixed in 5.11.02025-01-14
vulnerable: 0.1.0 ... 5.9.1 (568 versions)
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 alteri…
- CVE-2025-48889MEDIUMCVSS 5.3EG 5.3✓ Fixed in 5.31.02025-05-30
vulnerable: 0.1.0 ... 5.9.1 (601 versions)
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 f…
- CVE-2025-5320LOWCVSS 3.7EG 3.72025-05-29
vulnerable: 5.0.0 ... 5.9.1 (46 versions)
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 Rec…
Check whether gradio is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for gradio CVEs against the assets you own.
Start Free Scan →