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.
4,435 items
A directory traversal flaw in the zenml-io/zenml repository affects the /api/v1/steps endpoint. An attacker can manipulate the 'logs' URI path in a request to read arbitrary file content and bypass intended access restrictions, because directory traversal patterns are not validated.
In mintplex-labs/anything-llm, sending a malformed JSON payload to the '/system/enable-multi-user' endpoint triggers an error that a catch block handles by deleting all users and disabling 'multi_user_mode'. An attacker can then remove all existing users and potentially create a new admin user without a password, gaining unauthorized control of the application.
mintplex-labs/anything-llm has an improper input validation flaw that lets attackers read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can read sensitive files or the application's '.env' file, and can delete files by setting 'logo_filename' to a target path and invoking the 'remove-logo' API endpoint. The cause is missing sanitization of user-supplied input.
CVE-2024-1646 affects parisneo/lollms-webui, where an authentication bypass arises from insufficient protection of sensitive endpoints. The application only restricts access when the host parameter is '0.0.0.0', so a specific bound interface leaves endpoints such as '/restart_program', '/update_software', '/check_update', '/start_recording' and '/stop_recording' open to unauthorized callers. Exploitation can cause denial of service and unauthorized disabling or overriding of recordings, with other impacts possible if certain features are enabled in the configuration.
CVE-2024-1601 is an SQL injection flaw in the `delete_discussion()` function of parisneo/lollms-webui. A crafted HTTP POST to the `/delete_discussion` endpoint, with a specially crafted payload in the 'id' parameter, lets an attacker manipulate SQL queries to delete all records from the 'discussion' and 'message' tables. The cause is improper neutralization of special elements used in an SQL command.
parisneo/lollms-webui is vulnerable to a denial of service caused by uncontrolled resource consumption. Unauthenticated attackers can send repeated HTTP POST requests to the /open_code_in_vs_code endpoint and similar endpoints, each opening Visual Studio Code or the default folder opener such as File Explorer or xdg-open, which can make the host machine unusable by exhausting system resources. The flaw is present in the latest version of the software.
An S3 bucket takeover vulnerability was identified in the h2oai/h2o-3 repository, involving the bucket 'http://s3.amazonaws.com/h2o-training'. The bucket was found to be vulnerable to unauthorized takeover.
mintplex-labs/anything-llm is vulnerable to a relative path traversal attack. Attackers with a default role account can delete files and folders anywhere in the filesystem, including the database file 'anythingllm.db'. The flaw stems from insufficient input validation and normalization in file and folder deletion requests, and exploitation compromises data integrity and availability.
A mass assignment vulnerability in the `/api/invite/:code` endpoint of mintplex-labs/anything-llm lets an attacker create high-privileged accounts. By intercepting and modifying the HTTP request during account creation via an invitation link, an attacker can add a `role` property set to `admin` and gain administrative access. The flaw exists because the endpoint lacks property allowlisting and blocklisting.
CVE-2023-51409 is an Unrestricted Upload of File with Dangerous Type vulnerability (CWE-434) in the AI Engine: ChatGPT Chatbot plugin by Jordy Meow. The source states it affects versions from n/a through 1.9.98. NIST has not yet provided an NVD assessment, and Patchstack is listed as the source.
CVE-2024-3568 affects the huggingface/transformers library through unsafe deserialization in the load_repo_checkpoint() function of the TFPreTrainedModel() class. The function calls pickle.load() on data from potentially untrusted sources, so a crafted serialized payload can execute arbitrary code when a victim loads a seemingly harmless checkpoint during normal training.
CVE-2024-2221 affects qdrant/qdrant. The /collections/{COLLECTION}/snapshots/upload endpoint is vulnerable to path traversal and arbitrary file upload through the snapshot parameter. An attacker can upload and overwrite any file on the filesystem, which the source says could lead to remote code execution and unauthorized access.
Fix: Patch: https://github.com/qdrant/qdrant/commit/e6411907f0ecf3c2f8ba44ab704b9e4597d9705d
CVE-2024-1728 affects gradio-app/gradio because the UploadButton component does not properly validate user-supplied input. An attacker can manipulate the file path in a request to the /queue/join endpoint to read arbitrary files on the filesystem, such as private SSH keys. The flaw can also redirect file uploads to unintended server locations and could potentially lead to remote code execution.
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The `hf_chat_template` method passes the `chat_template` parameter from `tokenizer_config.json` through the Jinja template engine without proper sanitization. Attackers can craft malicious `tokenizer_config.json` files to execute arbitrary code on the server.
A Denial of Service vulnerability exists in the mintplex-labs/anything-llm repository when the application runs in 'just me' mode with a password. An attacker can send a request to an endpoint using the [validatedRequest] middleware with a specially crafted 'Authorization:' header. This leads to uncontrolled resource consumption and a DoS condition.
A mass assignment flaw in mintplex-labs/anything-llm lets users with manager roles escalate to admin. The '/admin/system-preferences' endpoint accepts a full JSON object without validating modifiable fields, so managers can change the 'multi_user_mode' system variable. That lets them reach '/api/system/enable-multi-user' and create a new admin user.
In mintplex-labs/anything-llm, an improper input validation flaw lets an attacker escalate privileges by deactivating 'Multi-User Mode' with a crafted curl request that sets the 'multi_user_mode' parameter to false. The same request then permits creating a new admin user without a password, giving unauthorized administrative access.
A flaw in the `safe_eval` function of the `exec_utils` class in the `llama_index` package allows prompt injection to lead to arbitrary code execution. Insufficient input validation lets an attacker bypass method restrictions and run unauthorized code. It bypasses the previously addressed CVE-2023-39662, and a proof of concept creates a file on the system.
CVE-2024-3025 affects mintplex-labs/anything-llm. Insufficient validation of user-supplied input in the logo filename functionality allows path traversal, so an attacker can reference files outside the restricted directory via the `/api/system/upload-logo` and `/api/system/logo` endpoints. This enables unauthorized reading or deletion of files, including the application's database.
CVE-2024-2217 affects gaizhenbiao/chuanhuchatgpt, which has improper access control over its `config.json` file. The flaw exists in both authenticated and unauthenticated versions of the application, letting attackers retrieve sensitive data such as API keys (`openai_api_key`, `google_palm_api_key`, `xmchat_api_key`), configuration details and user credentials. The cause is that the application's handling of HTTP requests for `config.json` does not restrict access based on user authentication.