Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
3,729 items
A Cross-Site Request Forgery (CSRF) flaw exists in the `install_comfyui` endpoint of `lollms_comfyui.py` in the parisneo/lollms-webui repository, versions v9.9 to the latest. The endpoint accepts the GET method and requires no client ID, so an attacker can trick a victim into installing ComfyUI. If the victim's device lacks sufficient capacity, the installation can crash it.
CVE-2024-6581 affects the discussion image upload function of the Lollms application, version v9.9. The sanitize_svg function removes only script elements and 'on*' event attributes, leaving other XSS vectors in SVG files unfiltered, so uploaded SVG files can enable cross-site scripting and, in turn, a risk of remote code execution. Exploitation requires an authorized user to open a malicious URL containing the crafted SVG file.
A path traversal flaw exists in the latest version of gaizhenbiao/chuanhuchatgpt, arising from unsanitized input in user upload, directory creation and template loading. The load_chat_history function in modules/models/base_model.py allows arbitrary file uploads, potentially leading to remote code execution (RCE), while get_history_names in utils.py permits arbitrary directory creation and load_template in utils.py can leak the first column of CSV files.
CVE-2024-5823 is a file overwrite vulnerability in gaizhenbiao/chuanhuchatgpt versions up to and including 20240410. An attacker can gain unauthorized access to overwrite critical configuration files, which can change system behavior or security settings. Tampering with these files can also cause a denial of service (DoS) condition.
NVIDIA NeMo contains a vulnerability in SaveRestoreConnector that lets a user cause a path traversal through unsafe .tar file extraction. A successful exploit may lead to code execution and data tampering.
CVE-2024-6985 is a path traversal vulnerability in the api open_personality_folder endpoint of parisneo/lollms-webui. An attacker can use it to read any folder on the victim's computer, even when sanitize_path is set, because the personality_folder parameter is not properly sanitized.
CVE-2024-47872 affects Gradio, an open-source Python package for quick prototyping, on any server that allows file uploads. Authenticated users can upload HTML, JavaScript, or SVG files containing malicious scripts, which execute in other users' browsers when those files are downloaded or viewed, enabling unauthorized actions or theft of session information.
Fix: Users are advised to upgrade to `gradio>=5`. As a workaround, restrict uploads to non-executable file types such as images or text, and implement server-side validation that sanitizes uploaded files, ensuring HTML…
Gradio, an open-source Python package for quick prototyping, has insecure communication between its FRP (Fast Reverse Proxy) client and server when the `share=True` option is used. HTTPS is not enforced, so an attacker can intercept and read files uploaded to the Gradio server and modify responses or data passed between client and server. The exposure affects users who share Gradio demos publicly with `share=True` without proper encryption.
Fix: Upgrade to `gradio>=5`. As a workaround, avoid `share=True` in production and host Gradio applications on servers with HTTPS enabled.
CVE-2024-47870 is a race condition in the `update_root_in_config` function of Gradio, an open-source Python package for quick prototyping. An attacker can modify the `root` URL the Gradio frontend uses to reach the backend, redirecting user traffic to a malicious server and potentially exposing authentication credentials or uploaded files. The issue affects all users connecting to a Gradio server, especially internet-exposed deployments.
Fix: Upgrade to `gradio>=5`. There are no known workarounds for this issue.
CVE-2024-47869 affects Gradio, an open-source Python package for quick prototyping. Gradio compares hashes in the analytics_dashboard function without constant-time comparison, so an attacker can measure response times to infer the correct hash byte by byte. Repeated queries with different keys could lead to unauthorized access to the analytics dashboard.
Fix: Upgrade to gradio>4.44. Before applying the patch, developers can manually patch the analytics_dashboard dashboard to use a constant-time comparison function for sensitive values such as hashes, or disable access to the…
Several Gradio components allow arbitrary file leaks through the post-processing step. Attackers can bypass expected input constraints with crafted requests and read files such as `/etc/passwd`, which may be combined with issue TOB-GRADIO-15 to expose sensitive files to unauthorized users.
Fix: 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.
Gradio, an open-source Python package for quick prototyping, does not verify the integrity of the FRP client it downloads for its sharing mechanism. The Gradio server does not check the file's checksum or signature, so an attacker who gains access to the remote URL can modify the binary without detection and introduce malicious code. Users of the sharing mechanism that relies on the FRP client are affected.
Fix: There is no direct workaround for this issue without upgrading. Users can manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification in their own environment.
CVE-2024-47168 affects Gradio, an open-source Python package for quick prototyping. Setting enable_monitoring=False does not fully disable monitoring, so an attacker or unauthorized user can still reach the monitoring dashboard by requesting the /monitoring endpoint directly, exposing application analytics.
Gradio, an open-source Python package for rapid prototyping, contains a Server-Side Request Forgery flaw in the `/queue/join` endpoint. The `async_save_url_to_cache` function lets attackers make the server send HTTP requests to user-controlled URLs, reaching internal servers or services on a local network and possibly exfiltrating data. Fetched content is stored locally, which can also let attackers upload malicious files; deployments using components such as the Video component are affected.
Gradio, an open-source Python package for quick prototyping, contains a one-level read path traversal in its `/custom_component` endpoint. An attacker who manipulates the file path in a request can read and leak source code from custom Gradio components hosted on publicly accessible servers, which may include proprietary or sensitive code.
Fix: Upgrade to `gradio>=4.44`. As a workaround, sanitize file paths and ensure components are not stored in publicly accessible directories.
Gradio, an open-source Python package for prototyping, accepts the null origin in CORS validation when deployed locally, because the localhost_aliases variable includes "null". Attackers can use sandboxed iframes or other null-origin sources to make unauthorized requests, potentially stealing authentication tokens or uploaded files, especially where basic authentication is used.
Fix: Upgrade to gradio>=5.0. As a workaround, manually remove "null" from the localhost_aliases list in the local Gradio deployment.
Gradio, an open-source Python package for quick prototyping, has a bypass of directory traversal checks in its `is_in_or_equal` function. The function, meant to confirm a file sits inside a given directory, can be defeated with payloads that use `..` parent directory sequences, letting an attacker reach restricted files. The flaw mainly affects users who rely on Gradio's blocklist or directory access validation, especially around file uploads, and exploitation is described as difficult.
CVE-2024-47084 affects Gradio, an open-source Python package for quick prototyping. The Gradio server fails to validate the request origin when a cookie is present, so a website an attacker controls can send unauthorized requests to a local Gradio server. An attacker could upload files, steal authentication tokens and access user data if a victim visits the malicious site while logged into Gradio. The issue affects users who deployed Gradio locally with basic authentication.
Fix: Upgrade to gradio>4.44. As a workaround, manually enforce stricter CORS origin validation by modifying the CustomCORSMiddleware class in the local Gradio server code, bypassing the condition that skips CORS validation…
Gradio's Dropdown component does not enforce its pre-process restriction to listed values, so setting allow_custom_value to False does not stop requests carrying arbitrary values. The source calls this a data validation issue that is not severe alone but can enable more serious problems when combined with other flaws, such as file downloads from the user's machine.
Fix: Upgrade to gradio>=5.0, which addresses the issue. Without upgrading, add manual validation in the prediction function that checks received values against the allowed dropdown values before processing them.
An Insecure Direct Object Reference (IDOR) vulnerability in open-webui/open-webui version v0.3.8 affects the API endpoint `http://0.0.0.0:3000/api/v1/memories/{id}/update`. Because of a flawed decentralization design, attackers can edit other users' memories without proper authorization.
Fix: Upgrade to gradio>=4.44. The source states there are no known workarounds.
NVD/CVE DatabaseFix: Upgrade to `gradio>=5`. As a workaround, disable or heavily restrict URL-based inputs to trusted domains only, implement stricter URL validation such as allowlist-based validation, and ensure local or internal network…
Fix: Upgrade to `gradio>=5.0`. As a workaround, manually sanitize and normalize file paths before passing them to `is_in_or_equal`, ensuring all paths are properly resolved and absolute.