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.
1,964 items
Versions of the langchain-experimental package from 0.0.15 before 0.0.21 contain CVE-2024-21513, an arbitrary code execution flaw. When retrieving values from the database, the package calls 'eval' on all values. An attacker who controls the input prompt can run arbitrary Python code on servers configured with VectorSQLDatabaseChain.
CVE-2024-39236 describes a code injection vulnerability in Gradio v4.36.1, reached through the component /gradio/component_meta.py and triggered by a crafted input. The supplier disputes the report, noting it concerns a user attacking himself. The entry is classified under CWE-94 and has no NVD assessment yet.
CVE-2024-36421 affects Flowise, a drag and drop interface for building customized large language model flows, in version 1.4.3. A CORS misconfiguration sets Access-Control-Allow-Origin to all, so arbitrary origins can connect to the website. In the default unauthenticated configuration, those origins may make requests to Flowise and steal information from the user. The flaw may be chained with a path injection to let an attacker without Flowise access read arbitrary files from the Flowise server.
CVE-2024-36420 affects Flowise version 1.4.3. The `/api/v1/openai-assistants-file` endpoint in `index.ts` allows arbitrary file read because the `fileName` body parameter is not sanitized. The source states no known patches are available for this issue.
NextChat, a cross-platform ChatGPT/Gemini UI, contains a Server-Side Request Forgery (SSRF) vulnerability, tracked as CVE-2024-38514 and CWE-918. The flaw stems from missing validation of the `endpoint` GET parameter on the WebDav API endpoint. The source says it can be used to make arbitrary HTTPS requests from the vulnerable instance (MKCOL, PUT and GET methods supported) or to make NextChat users execute arbitrary JavaScript in their browser.
Fix: Patched in version 2.12.4.
BerriAI/litellm version v1.35.8 contains a flaw that allows remote code execution. The `add_deployment` function decodes and decrypts base64 environment variables and assigns them to `os.environ`, and an attacker can send a malicious payload to the `/config/update` endpoint, which the server processes and executes when `get_secret` is triggered. Exploitation requires the server to use Google KMS and a database to store a model.
CVE-2024-5826 affects the latest version of vanna-ai/vanna. The vanna.ask function lacks a sandbox when executing LLM-generated code, so a prompt injection can alter the code run by the exec function in src/vanna/base/base.py. An attacker can use this to achieve remote code execution on the app backend server and potentially gain full control of it. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').
CVE-2024-37902 affects DeepJavaLibrary (DJL) versions 0.1.0 through 0.27.0, an engine-agnostic deep learning framework in Java. The flaw lets absolute path archived artifacts insert archived files directly into the system, overwriting system files. The CWE is CWE-22, Improper Limitation of a Pathname to a Restricted Directory.
Fix: This is fixed in DJL 0.28.0 and patched in DJL Large Model Inference containers version 0.27.0. Users are advised to upgrade.
CVE-2024-38459 affects langchain_experimental (LangChain Experimental) before 0.0.61. The package provides Python REPL access without an opt-in step, and the issue exists because of an incomplete fix for CVE-2024-27444. The weakness is classified as CWE-276, Incorrect Default Permissions.
Fix: Patch: https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61 (fixed in langchain_experimental 0.0.61, per the linked patch comparison).
NVIDIA Triton Inference Server for Linux and Windows contains CVE-2024-0095, a vulnerability where a user can inject forged logs and executable commands by inserting arbitrary data as a new log entry (CWE-117, Improper Output Neutralization for Logs). The source states that a successful exploit might lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering. NVD has not yet provided an assessment.
CVE-2024-37014 affects Langflow through 0.6.19. The source states that remote code execution is possible if untrusted users can reach the "POST /api/v1/custom_component" endpoint and supply a Python script. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').
CVE-2024-5187 affects the `download_model_with_test_data` function in the onnx/onnx framework, version 1.16.0. The function extracts tar files without checking the paths inside them, so a malicious tar file can use path traversal to overwrite arbitrary files, such as `/home/kali/.ssh/authorized_keys` via an absolute path. An attacker could thereby overwrite any file on the system, potentially leading to remote code execution or deletion of system, personal, or application files.
BerriAI's litellm, in its latest version, contains an arbitrary file deletion flaw tracked as CVE-2024-4888. Improper input validation on the /audio/transcriptions endpoint lets an attacker send a crafted request containing a file path, and the server then removes that file through os.remove(file.filename) without authorization checks. Any user can therefore delete critical server files, such as SSH keys, SQLite databases, or configuration files.
The gaizhenbiao/chuanhuchatgpt application is vulnerable to path traversal because it uses an outdated gradio component. The gradio version it employs is susceptible to the flaw identified in CVE-2023-51449, letting unauthorized users bypass restrictions on the web_assets folder and read sensitive files such as config.json, which contains API keys. The issue affects the latest chuanhuchatgpt version prior to the fixed version released on 20240305.
Fix: The source states the issue is fixed in the version released on 20240305 but does not name that release beyond its date.
CVE-2024-3095 is a Server-Side Request Forgery (SSRF) flaw in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The component does not restrict requests to remote internet addresses, so it can reach local addresses, enabling port scans, access to local services and, in some cases, cloud instance metadata. Only GET requests are possible, but the flaw can still expose stolen credentials and state-changing calls to internal APIs.
CVE-2024-2928 is a Local File Inclusion flaw in mlflow/mlflow version 2.9.2, fixed in 2.11.3. The application fails to validate directory traversal sequences such as '../' in URI fragments, so an attacker can manipulate the fragment to read arbitrary local files, including '/etc/passwd'. It bypasses an earlier patch that only covered the URI query string.
CVE-2024-0520 affects mlflow/mlflow version 8.2.1. When loading a dataset from an HTTP source URL, the `mlflow.data.http_dataset_source.py` module builds the final file path from the Content-Disposition header or URL path without sanitization. Path traversal or absolute paths such as '../../tmp/poc.txt' let an attacker write arbitrary files, which could lead to command execution and access to data and model information.
Fix: The issue is fixed in version 2.9.0.
A remote code execution flaw exists in the lightning-ai/pytorch-lightning library, version 2.2.1, caused by improper handling of deserialized user input and mismanaged dunder attributes in the deepdiff library. An attacker can craft a serialized deepdiff.Delta that passes the deserializer whitelist and contains dunder attributes, which lets them reach other modules, classes and instances, enabling arbitrary attribute write and full RCE on self-hosted applications in their default configuration because the delta endpoint is enabled by default.
CVE-2024-4941 is a local file inclusion flaw in the JSON component of gradio-app/gradio version 4.25. The postprocess() function in gradio/components/json_component.py parses a user-controlled string as JSON, and if the object contains a path key, processing_utils.move_files_to_cache() copies the named file to a temporary directory. An attacker can then retrieve that file through the /file=.. endpoint, reading files on the remote system.
CVE-2024-4325 is an SSRF flaw in gradio-app/gradio version 4.21.0, reached through the `/queue/join` endpoint and the `save_url_to_cache` function. The `path` value taken from the user, expected to be a URL, is used for an HTTP request without sufficient validation. An attacker can send crafted requests to reach the local network or the AWS metadata endpoint and compromise internal servers.
Fix: Fixed in 2.11.3.