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 stored cross-site scripting (XSS) vulnerability exists in open-webui/open-webui version 0.3.8. The model description field of the `/api/v1/models/add` endpoint is improperly sanitized before it is rendered in chat, so an attacker can inject scripts that run for any user, including administrators, potentially leading to arbitrary code execution.
Open WebUI versions prior to v0.5.13 expose the `api/v1/utils/pdf` endpoint without any authentication. Unauthenticated attackers can send a POST request with an oversized payload, which can exhaust server resources and cause denial of service, or use the endpoint to generate PDFs without verification.
A flaw in lightning-ai/pytorch-lightning version 2.3.2 lets an attacker cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of `LightningApp`. The server mishandles unexpected state values and shuts down as a result.
Open WebUI versions up to and including 0.3.8 allow remote code execution by non-admin users through Cross-Site Request Forgery (CSRF). The application authenticates with cookies set to SameSite=lax and has no CSRF tokens, so a crafted HTML page can make a logged-in victim's browser modify the Python code of an existing pipeline. The attacker's code then runs with the victim's privileges.
Open WebUI version 79778fa contains a denial of service flaw in the api/chat/file upload endpoint. An unauthenticated attacker can upload a file with a malformed multipart boundary, padded with a large number of characters, so the server keeps processing each character. The application becomes inaccessible to all users until the server recovers.
A session fixation flaw in open-webui/open-webui version 0.3.8 lets an attacker with a user-level account take over administrator sessions. The session cookie is set with the default `SameSite=Lax` and without the `Secure` flag, so it can be sent over HTTP to a cross-origin domain. An attacker can embed a malicious markdown image in a chat that sends an administrator's session cookie to the attacker's server when the admin views it, potentially leading to remote code execution.
In lightning-ai/pytorch-lightning version 2.3.2, the `LightningApp` on a Windows host exposes the `/api/v1/upload_file/` endpoint to path traversal. A crafted filename lets an attacker write or overwrite arbitrary files, which can lead to remote code execution by overwriting critical files or placing malicious files in sensitive locations.
BerriAI/litellm version 1.40.12 contains a remote code execution flaw in how it handles the 'post_call_rules' configuration. The configured callback value is split at its final '.', and the last part is treated as the function name while the remainder is appended with '.py' and imported, so an attacker can set a system method such as 'os.system' as a callback and run arbitrary commands when a chat response is processed.
Open WebUI v0.3.8 has an improper access control flaw that does not check whether the caller is an administrator. An attacker can call GET /api/v1/files/ to list file IDs for all user uploads, then use GET /api/v1/files/{file_id} to read any file and DELETE /api/v1/files/{file_id} to delete it.
Open WebUI v0.3.8 contains an uncontrolled resource consumption flaw. An unauthenticated attacker can sign up with an excessively large text value in the 'name' field, which makes the Admin panel unresponsive and blocks administrators from deleting, editing, or adding users. Authenticated users with low privileges can trigger the same unresponsive state.
Open WebUI version 0.3.32 uses a vulnerable starlette package through its fastapi dependency. Starlette versions <=0.49 are susceptible to uncontrolled resource consumption, which an attacker can exploit to cause denial of service through memory exhaustion.
Fix: This issue is addressed in fastapi version 0.115.3.
GitHub Advisory DatabaseCVE-2024-12886 affects the Ollama server in the Go module github.com/ollama/ollama, versions <= 0.3.14. A malicious API server can send a gzip bomb HTTP response, which causes an Out-Of-Memory condition and crashes the Ollama server. The flaw sits in the makeRequestWithRetry and getAuthorizationToken functions, which read the response body with io.ReadAll.
In version 0.3.32 of open-webui/open-webui, the api/v1/utils/code/format endpoint lacks authentication, so any unauthenticated attacker can reach it. A POST request carrying an excessively large volume of content can leave the server completely unresponsive, causing service interruptions for legitimate users.
An SSRF vulnerability was identified in the lm-sys/fastchat web server, affecting git version 2c68a13. An attacker can use it to reach internal server resources and data that are otherwise inaccessible, such as AWS metadata credentials.
Open WebUI version v0.3.32 accepts oversized payloads in the email and password fields during sign-in because it does not validate character length on these inputs. Submitting excessively large strings exhausts CPU, memory and disk, causing a Denial of Service that makes the service unavailable to legitimate users, and no authentication is required.
A Server-Side Request Forgery (SSRF) flaw affects lm-sys/fastchat version 0.2.36. Insufficient validation of the path parameter on the `/queue/join?` endpoint lets an attacker send crafted requests that reach internal networks or the AWS metadata endpoint, potentially exposing sensitive data and compromising internal servers.
A Denial of Service vulnerability exists in the file upload feature of lm-sys/fastchat version 0.2.36. Improper handling of form-data with a large filename in the upload request lets an attacker send a payload with an excessively large filename, overwhelming the server and making it unavailable to legitimate users.
FastChat release v0.2.36 from lm-sys contains an uncontrolled resource consumption flaw. The server does not handle excess characters appended to the end of multipart boundaries, so each extra character is processed in an infinite loop. An unauthenticated attacker can send malformed multipart requests to cause excessive resource consumption and a complete denial of service for all users.
langgenius/dify v0.10.1 uses `random.randint` to generate password reset codes, which is not suitable for cryptographic use. An attacker with access to workflow tools can extract the PRNG output and predict future reset codes, taking over any account, including administrator accounts.
CVE-2025-1451 affects parisneo/lollms-webui v13. The server does not limit or validate the length of multipart boundaries in file uploads, so an attacker can send requests with excessively long boundaries, causing resource exhaustion and denial of service. An earlier patch in commit 483431bb blocked hyphen characters appended to the boundary, but the server stays vulnerable when other characters such as '4' or 'a' are used.