Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/gradio@5.0.0b10
Typepypi
Namespace
Namegradio
Version5.0.0b10
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version6.7.0
Latest_non_vulnerable_version6.7.0
Affected_by_vulnerabilities
0
url VCID-2ueu-3u8x-pkfs
vulnerability_id VCID-2ueu-3u8x-pkfs
summary 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 backend. By exploiting this flaw, an attacker can redirect user traffic to a malicious server. This could lead to the interception of sensitive data such as authentication credentials or uploaded files. This impacts all users who connect to a Gradio server, especially those exposed to the internet, where malicious actors could exploit this race condition. Users are advised to upgrade to `gradio>=5` to address this issue. There are no known workarounds for this issue.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
url https://github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47870, GHSA-xh2x-3mrm-fwqm, PYSEC-2024-218
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-2ueu-3u8x-pkfs
1
url VCID-3w2j-55q7-t7by
vulnerability_id VCID-3w2j-55q7-t7by
summary 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 connection, allowing attackers to intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server. This impacts users who are sharing Gradio demos publicly over the internet using `share=True` without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can avoid using `share=True` in production environments and instead host their Gradio applications on servers with HTTPS enabled to ensure secure communication.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-279j-x4gx-hfrh
reference_id
reference_type
scores
0
value 9.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-279j-x4gx-hfrh
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47871, GHSA-279j-x4gx-hfrh, PYSEC-2024-219
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-3w2j-55q7-t7by
2
url VCID-4y28-s547-c3d3
vulnerability_id VCID-4y28-s547-c3d3
summary 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 to send HTTP requests to user-controlled URLs. This could enable attackers to target internal servers or services within a local network and possibly exfiltrate data or cause unwanted internal requests. Additionally, the content from these URLs is stored locally, making it easier for attackers to upload potentially malicious files to the server. This impacts users deploying Gradio servers that use components like the Video component which involve URL fetching. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can disable or heavily restrict URL-based inputs in their Gradio applications to trusted domains only. Additionally, implementing stricter URL validation (such as allowinglist-based validation) and ensuring that local or internal network addresses cannot be requested via the `/queue/join` endpoint can help mitigate the risk of SSRF attacks.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-576c-3j53-r9jj
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
url https://github.com/gradio-app/gradio/security/advisories/GHSA-576c-3j53-r9jj
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47167, GHSA-576c-3j53-r9jj, PYSEC-2024-215
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-4y28-s547-c3d3
3
url VCID-5c6u-kz54-a7ee
vulnerability_id VCID-5c6u-kz54-a7ee
summary 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 scripts. When other users download or view these files, the scripts will execute in their browser, allowing attackers to perform unauthorized actions or steal sensitive information from their sessions. This impacts any Gradio server that allows file uploads, particularly those using components that process or display user-uploaded files. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can restrict the types of files that can be uploaded to the Gradio server by limiting uploads to non-executable file types such as images or text. Additionally, developers can implement server-side validation to sanitize uploaded files, ensuring that HTML, JavaScript, and SVG files are properly handled or rejected before being stored or displayed to users.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-gvv6-33j7-884g
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-gvv6-33j7-884g
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47872, GHSA-gvv6-33j7-884g, PYSEC-2024-220
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-5c6u-kz54-a7ee
4
url VCID-aajd-8tqx-c3bn
vulnerability_id VCID-aajd-8tqx-c3bn
summary 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 directory path. This vulnerability arises due to the lack of case normalization in the file path validation logic. On case-insensitive file systems, such as those used by Windows and macOS, this flaw enables attackers to circumvent security restrictions and access sensitive files that should be protected. This issue can lead to unauthorized data access, exposing sensitive information and undermining the integrity of Gradio's security model. Given Gradio's popularity for building web applications, particularly in machine learning and AI, this vulnerability may pose a substantial threat if exploited in production environments. This issue has been addressed in release version 5.6.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-j2jg-fq62-7c3h
fixed_packages
0
url pkg:pypi/gradio@5.6.0
purl pkg:pypi/gradio@5.6.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bmqt-uegd-hyap
1
vulnerability VCID-dsw8-wy3z-53hm
2
vulnerability VCID-j1w9-nvdf-nfbr
3
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.6.0
aliases CVE-2025-23042, GHSA-j2jg-fq62-7c3h, PYSEC-2025-118
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-aajd-8tqx-c3bn
5
url VCID-bmqt-uegd-hyap
vulnerability_id VCID-bmqt-uegd-hyap
summary 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 Gradio Space. When a victim application uses `gr.load()` to load an attacker-controlled Space, the malicious `proxy_url` from the config is trusted and added to the allowlist, enabling the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure. Version 6.6.0 fixes the issue.
references
0
reference_url https://github.com/gradio-app/gradio
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio
1
reference_url https://github.com/gradio-app/gradio/commit/fc7c01ea1e581ef70be98fddf003b0c91315c7cc
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/commit/fc7c01ea1e581ef70be98fddf003b0c91315c7cc
2
reference_url https://github.com/gradio-app/gradio/releases/tag/gradio%406.6.0
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/releases/tag/gradio%406.6.0
3
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-jmh7-g254-2cq9
reference_id
reference_type
scores
0
value 8.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-jmh7-g254-2cq9
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-28416
reference_id CVE-2026-28416
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-28416
5
reference_url https://github.com/advisories/GHSA-jmh7-g254-2cq9
reference_id GHSA-jmh7-g254-2cq9
reference_type
scores
url https://github.com/advisories/GHSA-jmh7-g254-2cq9
fixed_packages
0
url pkg:pypi/gradio@6.6.0
purl pkg:pypi/gradio@6.6.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-dsw8-wy3z-53hm
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@6.6.0
aliases CVE-2026-28416, GHSA-jmh7-g254-2cq9, PYSEC-2026-66
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-bmqt-uegd-hyap
6
url VCID-dsw8-wy3z-53hm
vulnerability_id VCID-dsw8-wy3z-53hm
summary 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. Python 3.13+ changed the definition of `os.path.isabs` so that root-relative paths like `/windows/win.ini` on Windows are no longer considered absolute paths, resulting in a vulnerability in Gradio's logic for joining paths safely. This can be exploited by unauthenticated attackers to read arbitrary files from the Gradio server, even when Gradio is set up with authentication. Version 6.7 fixes the issue.
references
0
reference_url https://github.com/gradio-app/gradio
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio
1
reference_url https://github.com/gradio-app/gradio/commit/6011b00d0154b85532fa901dd73cf8fa7d86fd04
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/commit/6011b00d0154b85532fa901dd73cf8fa7d86fd04
2
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-39mp-8hj3-5c49
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-39mp-8hj3-5c49
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-28414
reference_id CVE-2026-28414
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-28414
4
reference_url https://github.com/advisories/GHSA-39mp-8hj3-5c49
reference_id GHSA-39mp-8hj3-5c49
reference_type
scores
url https://github.com/advisories/GHSA-39mp-8hj3-5c49
fixed_packages
0
url pkg:pypi/gradio@6.7.0
purl pkg:pypi/gradio@6.7.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@6.7.0
aliases CVE-2026-28414, GHSA-39mp-8hj3-5c49, PYSEC-2026-64
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-dsw8-wy3z-53hm
7
url VCID-ejg7-khk7-9qf3
vulnerability_id VCID-ejg7-khk7-9qf3
summary 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 remote URL from which the FRP client is downloaded, they could modify the binary without detection, as the Gradio server does not verify the file's checksum or signature. Any users utilizing the Gradio server's sharing mechanism that downloads the FRP client could be affected by this vulnerability, especially those relying on the executable binary for secure data tunneling. There is no direct workaround for this issue without upgrading. However, users can manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification in their own environment to ensure the binary hasn't been tampered with.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-8c87-gvhj-xm8m
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-8c87-gvhj-xm8m
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47867, GHSA-8c87-gvhj-xm8m, PYSEC-2024-216
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ejg7-khk7-9qf3
8
url VCID-h9ep-6qj7-pued
vulnerability_id VCID-h9ep-6qj7-pued
summary 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 with certain payloads that manipulate file paths using `..` (parent directory) sequences. Attackers could potentially access restricted files if they are able to exploit this flaw, although the difficulty is high. This primarily impacts users relying on Gradio’s blocklist or directory access validation, particularly when handling file uploads. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can manually sanitize and normalize file paths in their Gradio deployment before passing them to the `is_in_or_equal` function. Ensuring that all file paths are properly resolved and absolute can help mitigate the bypass vulnerabilities caused by the improper handling of `..` sequences or malformed paths.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-77xq-6g77-h274
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-77xq-6g77-h274
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47164, GHSA-77xq-6g77-h274, PYSEC-2024-213
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-h9ep-6qj7-pued
9
url VCID-j1w9-nvdf-nfbr
vulnerability_id VCID-j1w9-nvdf-nfbr
summary 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 affects the /logout and /login/callback endpoints on Gradio apps with OAuth enabled (i.e. apps running on Hugging Face Spaces with gr.LoginButton). Starting in version 6.6.0, the _target_url parameter is sanitized to only use the path, query, and fragment, stripping any scheme or host.
references
0
reference_url https://github.com/gradio-app/gradio
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio
1
reference_url https://github.com/gradio-app/gradio/commit/dfee0da06d0aa94b3c2684131e7898d5d5c1911e
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/commit/dfee0da06d0aa94b3c2684131e7898d5d5c1911e
2
reference_url https://github.com/gradio-app/gradio/releases/tag/gradio%406.6.0
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/releases/tag/gradio%406.6.0
3
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-pfjf-5gxr-995x
reference_id
reference_type
scores
0
value 4.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-pfjf-5gxr-995x
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-28415
reference_id CVE-2026-28415
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-28415
5
reference_url https://github.com/advisories/GHSA-pfjf-5gxr-995x
reference_id GHSA-pfjf-5gxr-995x
reference_type
scores
url https://github.com/advisories/GHSA-pfjf-5gxr-995x
fixed_packages
0
url pkg:pypi/gradio@6.6.0
purl pkg:pypi/gradio@6.6.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-dsw8-wy3z-53hm
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@6.6.0
aliases CVE-2026-28415, GHSA-pfjf-5gxr-995x, PYSEC-2026-65
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-j1w9-nvdf-nfbr
10
url VCID-mk15-qxqc-vfab
vulnerability_id VCID-mk15-qxqc-vfab
summary 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 attackers to make unauthorized requests from sandboxed iframes or other sources with a null origin, potentially leading to data theft, such as user authentication tokens or uploaded files. This impacts users running Gradio locally, especially those using basic authentication. Users are advised to upgrade to `gradio>=5.0` to address this issue. As a workaround, users can manually modify the `localhost_aliases` list in their local Gradio deployment to exclude "null" as a valid origin. By removing this value, the Gradio server will no longer accept requests from sandboxed iframes or sources with a null origin, mitigating the potential for exploitation.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-89v2-pqfv-c5r9
reference_id
reference_type
scores
0
value 5.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-89v2-pqfv-c5r9
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47165, GHSA-89v2-pqfv-c5r9, PYSEC-2024-214
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-mk15-qxqc-vfab
11
url VCID-vaq5-ccvf-kyg6
vulnerability_id VCID-vaq5-ccvf-kyg6
summary 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. `gr.LoginButton`) are used. When a user visits `/login/huggingface`, the server retrieves its own Hugging Face access token via `huggingface_hub.get_token()` and stores it in the visitor's session cookie. If the application is network-accessible, any remote attacker can trigger this flow to steal the server owner's HF token. The session cookie is signed with a hardcoded secret derived from the string `"-v4"`, making the payload trivially decodable. Version 6.6.0 fixes the issue.
references
0
reference_url https://github.com/gradio-app/gradio
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio
1
reference_url https://github.com/gradio-app/gradio/commit/dfee0da06d0aa94b3c2684131e7898d5d5c1911e
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/commit/dfee0da06d0aa94b3c2684131e7898d5d5c1911e
2
reference_url https://github.com/gradio-app/gradio/releases/tag/gradio@6.6.0
reference_id
reference_type
scores
url https://github.com/gradio-app/gradio/releases/tag/gradio@6.6.0
3
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-h3h8-3v2v-rg7m
reference_id
reference_type
scores
0
value 5.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-h3h8-3v2v-rg7m
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-27167
reference_id CVE-2026-27167
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-27167
5
reference_url https://github.com/advisories/GHSA-h3h8-3v2v-rg7m
reference_id GHSA-h3h8-3v2v-rg7m
reference_type
scores
url https://github.com/advisories/GHSA-h3h8-3v2v-rg7m
fixed_packages
0
url pkg:pypi/gradio@6.6.0
purl pkg:pypi/gradio@6.6.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-dsw8-wy3z-53hm
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@6.6.0
aliases CVE-2026-27167, GHSA-h3h8-3v2v-rg7m, PYSEC-2026-63
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-vaq5-ccvf-kyg6
12
url VCID-vg49-znwv-akgf
vulnerability_id VCID-vg49-znwv-akgf
summary 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 by crafting requests that bypass expected input constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those that return or handle file data. Vulnerable Components: 1. **String to FileData:** DownloadButton, Audio, ImageEditor, Video, Model3D, File, UploadButton. 2. **Complex data to FileData:** Chatbot, MultimodalTextbox. 3. **Direct file read in preprocess:** Code. 4. **Dictionary converted to FileData:** ParamViewer, Dataset. Exploit Scenarios: 1. A developer creates a Dropdown list that passes values to a DownloadButton. An attacker bypasses the allowed inputs, sends an arbitrary file path (like `/etc/passwd`), and downloads sensitive files. 2. An attacker crafts a malicious payload in a ParamViewer component, leaking sensitive files from a server through the arbitrary file leak. This issue has been resolved in `gradio>5.0`. Upgrading to the latest version will mitigate this vulnerability. There are no known workarounds for this vulnerability.
references
0
reference_url https://github.com/gradio-app/gradio/security/advisories/GHSA-4q3c-cj7g-jcwf
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
url https://github.com/gradio-app/gradio/security/advisories/GHSA-4q3c-cj7g-jcwf
fixed_packages
0
url pkg:pypi/gradio@5.0.0
purl pkg:pypi/gradio@5.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3cr8-jcqv-pkc6
1
vulnerability VCID-aajd-8tqx-c3bn
2
vulnerability VCID-bmqt-uegd-hyap
3
vulnerability VCID-dsw8-wy3z-53hm
4
vulnerability VCID-j1w9-nvdf-nfbr
5
vulnerability VCID-vaq5-ccvf-kyg6
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0
aliases CVE-2024-47868, GHSA-4q3c-cj7g-jcwf, PYSEC-2024-217
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-vg49-znwv-akgf
Fixing_vulnerabilities
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/gradio@5.0.0b10