p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости gradio

За последние 30 дней в gradio опубликовано уязвимостей: 0; в каталоге KEV: 0.

RSS ↗
Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 52

  1. CVE-2026-49119

    Высокий · CVSS 8.7EPSS 0,69%Есть исправление

    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 or absolute paths. Attackers can provide crafted path segments that cause os.path.join to discard the root_dir prefix entirely, resulting in arbitrary file read or exposure of sensitive files outside the intended directory.

    • Обновитесь до 6.16.0
  2. CVE-2026-10783

    Низкий · CVSS 2EPSS 0,11%Есть исправление

    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. The attack is considered to have high complexity. It is indicated that the exploitability is difficult. The exploit has been released to the public and may be used for attacks. The patch is named 13394. To fix this issue, it is recommended to deploy a patch.

    • Обновитесь до 6.15.1
  3. CVE-2026-48545

    Высокий · CVSS 7.6EPSS 0,47%Есть исправление

    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 controlling any HF Space can return a parent-domain cookie that the shared client stores and automatically replays into all subsequent proxy requests to other legitimate Spaces, affecting all users of the same Gradio deployment.

    • Обновитесь до 6.15.0
  4. CVE-2026-28416

    Высокий · CVSS 8.2EPSS 0,36%Есть исправление

    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 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.

    • Обновитесь до 6.6.0
    Опубликовано Обновлено
  5. CVE-2026-28415

    Средний · CVSS 4.3EPSS 0,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 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.

    • Обновитесь до 6.6.0
    Опубликовано Обновлено
  6. CVE-2026-28414

    Высокий · CVSS 7.5EPSS 2,54%Публичный эксплойтЕсть исправление

    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 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 authentic

    • Обновитесь до 6.7.0
    Опубликовано Обновлено
  7. CVE-2026-27167

    Низкий · CVSS 0EPSS 0,4%Есть исправление

    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. `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

    • Обновитесь до 6.6.0
    Опубликовано Обновлено
  8. CVE-2025-48889

    Средний · CVSS 5.3EPSS 0,66%Есть исправление

    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 allows unauthenticated attackers to copy any readable file from the server's filesystem. While attackers can't read these copied files, they can cause DoS by copying large files (like /dev/urandom) to fill disk space. This issue has been patched in version 5.31.0.

    • Обновитесь до 5.31.0
    Опубликовано Обновлено
  9. CVE-2025-5320

    Средний · CVSS 6.3EPSS 0,26%Нет опубликованного исправления

    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 to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

  10. CVE-2024-8021

    Средний · CVSS 5.4EPSS 0,76%Публичный эксплойтНет опубликованного исправления

    Open Redirect in gradio-app/gradio

    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 to an attacker-controlled site.

    Опубликовано Обновлено
  11. CVE-2024-10648

    Высокий · CVSS 8.2EPSS 0,73%Нет опубликованного исправления

    Path Traversal in gradio-app/gradio

    A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. This vulnerability allows an attacker to control the format of the audio file, leading to arbitrary file content deletion. By manipulating the output format, an attacker can reset any file to an empty file, causing a denial of service (DOS) on the server.

    Опубликовано Обновлено
  12. CVE-2024-12217

    Средний · CVSS 5.3EPSS 0,7%Нет опубликованного исправления

    Path Traversal in gradio-app/gradio

    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 flawed. Specifically, while the application correctly blocks access to paths like 'C:/tmp/secret.txt', it fails to block access when using NTFS Alternate Data Streams (ADS) syntax, such as 'C:/tmp/secret.txt::$DATA'. This flaw can lead to unauthorized reading of blocked file paths.

    Опубликовано Обновлено
  13. CVE-2024-8966

    Высокий · CVSS 7.5EPSS 0,81%Нет опубликованного исправления

    Denial of Service in gradio-app/gradio

    A vulnerability in the file upload process of gradio-app/gradio version @gradio/video@0.10.2 allows for a Denial of Service (DoS) attack. An attacker can append a large number of characters to the end of a multipart boundary, causing the system to continuously process each character and issue warnings. This can render Gradio inaccessible for extended periods, disrupting services and causing significant downtime.

    Опубликовано Обновлено
  14. CVE-2024-10569

    Высокий · CVSS 7.5EPSS 0,66%Нет опубликованного исправления

    Zip Bomb Vulnerability in gradio-app/gradio

    A vulnerability in the dataframe component of gradio-app/gradio (version git 98cbcae) allows for a zip bomb attack. The component uses pd.read_csv to process input values, which can accept compressed files. An attacker can exploit this by uploading a maliciously crafted zip bomb, leading to a server crash and causing a denial of service.

    Опубликовано Обновлено
  15. CVE-2024-10624

    Высокий · CVSS 7.5EPSS 1,1%Нет опубликованного исправления

    Regular Expression Denial of Service (ReDoS) in gradio-app/gradio

    A Regular Expression Denial of Service (ReDoS) vulnerability exists in the gradio-app/gradio repository, affecting the gr.Datetime component. The affected version is git commit 98cbcae. The vulnerability arises from the use of a regular expression `^(?:\s*now\s*(?:-\s*(\d+)\s*([dmhs]))?)?\s*$` to process user input. In Python's default regex engine, this regular expression can take polynomial time to match certain crafted inputs. An attacker can exploit this by sending a crafted HTTP request, causing the gradio process to consume 100% CPU and potentially leading to a Denial of Service (DoS) condition on the server.

    Опубликовано Обновлено
  16. CVE-2025-23042

    Высокий · CVSS 8.7EPSS 1%Есть исправление

    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 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 sensit

    • Обновитесь до 5.11.0
    • Обновитесь до 5.6.0
    Опубликовано Обновлено
  17. CVE-2024-51751

    Средний · CVSS 6.5EPSS 0,68%Есть исправление

    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 these components to read arbitrary files from the application server. This issue has been addressed in release version 5.5.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Обновитесь до 5.5.0
    Опубликовано Обновлено
  18. CVE-2024-48052

    Средний · CVSS 6.5EPSS 0,47%Нет опубликованного исправления

    CVE-2024-48052

    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 download of local resources and sensitive information.

    Опубликовано Обновлено
  19. CVE-2024-47867

    Низкий · CVSS 2.1EPSS 0,21%Есть исправление

    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 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 di

    • Обновитесь до 5.0.0
    Опубликовано Обновлено
  20. CVE-2024-47868

    Средний · CVSS 6.3EPSS 0,82%Есть исправление

    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 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, Model

    • Обновитесь до 5.0.0
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →