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,675 items
GHSA-7j65-65cr-6644 affects FlowiseAI's DatasetRow create and update paths in packages/server/src/services/dataset/index.ts. The code copies the request body onto the entity with Object.assign without a field allowlist, so a client-supplied workspaceId persists on the row. An authenticated workspace member can move a datasetrow into another workspace, exposing its contents there, and the source does not describe the fix's specific version beyond the referenced pull request.
Fix: Already fixed in PR https://github.com/FlowiseAI/Flowise/pull/6051, which applies an explicit field allowlist pattern matching commit 840d2ae for DocumentStore.
GitHub Advisory DatabaseFlowiseAI's dataset service copies the request body into the Dataset entity with Object.assign(), without a field allowlist. An authenticated workspace member can therefore set workspaceId (and id on create) through the request, moving a dataset into another workspace and exposing its rows and schema to that workspace. The affected file is packages/server/src/services/dataset/index.ts, and the flaw is described as high severity with no second factor needed.
Fix: Already fixed in PR https://github.com/FlowiseAI/Flowise/pull/6051 (allowlist pattern applied).
GitHub Advisory DatabaseThe FlowiseAI CustomTemplate create and update paths in packages/server/src/services/marketplaces/index.ts copy the full request body onto the entity with Object.assign(newTemplate, body) and no field allowlist. A client-supplied workspaceId, and on create an id, is therefore persisted, letting any authenticated member who can edit a customtemplate move it into another workspace by UUID. The advisory rates this High and notes that workspace UUIDs are often exposed in API responses, which makes target enumeration simple.
Fix: Fixed in PR https://github.com/FlowiseAI/Flowise/pull/6129, which applies an explicit field allowlist pattern to the CustomTemplate create and update paths, matching commit 840d2ae for DocumentStore.
FlowiseAI's Assistant create and update paths copy the request body onto the entity with Object.assign without a field allowlist. An authenticated workspace member can therefore set workspaceId, and on create also id, to move an assistant into another workspace. The source states the flaw is fixed in PR 6128, which applies an allowlist pattern.
Fix: Already fixed in PR https://github.com/FlowiseAI/Flowise/pull/6128 (allowlist pattern applied).
GitHub Advisory DatabaseFlowiseAI's OpenAI Assistants vector store routes at packages/server/src/routes/openai-assistants-vector-store/index.ts have no checkAnyPermission() middleware on any CRUD operation. Any authenticated user, regardless of role, can create, update, or delete vector stores, upload files to them, and delete files. The source rates the issue HIGH (CVSS ~8.1) under CWE-306 and says the impact includes uploading malicious files and exfiltrating stored documents.
The OAuth1 and OAuth2 credential reconnect endpoints in n8n authorized access using `credential:read` instead of `credential:update`. An authenticated user with read-only access to a shared credential could start a reconnect flow and overwrite its stored tokens with ones tied to an external account they control, so workflows using that credential would run under the attacker's identity. The issue affects instances where credentials are shared with other users or across projects.
Fixed in n8n versions 1.123.43, 2.20.7, and 2.21.1; users should upgrade to one of these or later. If upgrading is not immediately possible, restrict credential sharing to fully trusted users only and audit shared…
An authenticated user who can create or modify workflows can trigger global prototype pollution in n8n through an unvalidated pagination parameter in the HTTP Request node. Combined with other techniques, this can lead to RCE on the instance.
Fix: Fixed in n8n versions 1.123.43, 2.20.7, and 2.22.1. Upgrade to one of these versions or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users only, and…
FlowiseAI's credentials service returns the encryptedData field when credentials are fetched with a credentialName filter, because the omit step runs only for unfiltered requests (packages/server/src/services/credentials/index.ts, lines 62-71). Authenticated users can read encrypted API keys, passwords and tokens for services such as OpenAI and AWS. The source says combining this with the encryption key file at ~/.flowise/encryption.key, written with default permissions, enables full credential theft.
Flowise's POST /api/v1/node-custom-function endpoint has no route-level permission middleware, so any authenticated user or API key can submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is unset, which the source describes as the common deployment case, the code runs in a NodeVM sandbox that can be escaped by abusing an Error object that crosses the sandbox boundary to recover the host Function constructor. The attacker then reaches process and child_process and runs system commands on the server host, a CVSS v3.1 score of 9.9 (Critical).
An authenticated user can exploit a Mass Assignment flaw in the PUT /api/v1/assistants/{assistantId} endpoint of FlowiseAI. The server does not restrict which properties the client may modify, so requests can change server-controlled fields such as workspaceId, createdDate and updatedDate. This allows an attacker to reassign assistants to arbitrary workspaces, breaking tenant isolation in multi-workspace deployments.
Flowise's MCP feature contains a security bypass chain that lets an attacker run arbitrary commands on the host. The validateCommandFlags blocklist in packages/components/nodes/tools/MCP/core.ts omits docker build, so a Custom MCP Server configured as docker build <remote-URL> pulls and runs a remote Dockerfile. A second bypass uses the long alias --yes, which is not blocked for npx, letting npx install and execute an attacker-supplied npm package. The attacker needs a Flowise account of any role or an API key with view and update permissions for chatflows, and the server must have the docker or npx command available.
A Kolega.dev Deep Code Scan flagged the checkBasicAuth endpoint in FlowiseAI at packages/server/src/enterprise/controllers/account.controller.ts:128-135 as Medium severity under CWE-522 (Insufficiently Protected Credentials). The endpoint compares plaintext username and password from the request body directly against the FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables, with no rate limiting and different responses for success and failure. Attackers can therefore attempt unlimited credential brute-forcing and enumerate valid credentials.
Fix: 1) Implement rate limiting on this endpoint, 2) Use constant-time comparison to prevent timing attacks, 3) Consider using hashed comparison, 4) Return generic error messages, 5) Add logging for failed attempts.
A mass assignment flaw in the PUT /api/v1/chatflows/{chatflowId} endpoint of FlowiseAI lets an authenticated user set server-controlled fields such as deployed, isPublic, workspaceId, createdDate and updatedDate, because the request body is merged directly into the chatflow model without a DTO whitelist or authorization checks. In testing, a chatflow was reassigned to a second workspace, which breaks tenant isolation in multi-tenant deployments and may expose private workflows or alter deployed agent workflows.
FlowiseAI's tool update endpoint, PUT /api/v1/tools/{toolId}, merges the client's JSON body directly into the database entity without DTO validation or authorization checks. An authenticated user can therefore set server-controlled fields such as workspaceId, createdDate and updatedDate, moving tools into arbitrary workspaces and breaking tenant isolation in multi-workspace deployments.
GHSA-6fw7-3q8r-m5vj describes a Mass Assignment flaw in the FlowiseAI variable update endpoint, PUT /api/v1/variables/{variableId}. Authenticated users can send server-controlled fields such as workspaceId, createdDate and updatedDate, and the backend persists them without validation or authorization checks. An attacker can therefore reassign variables to arbitrary workspaces, which may break tenant isolation in multi-workspace deployments.
A flaw in GitHub Copilot CLI before 1.0.43 allows arbitrary code execution when the agent runs git operations inside a project containing a malicious nested bare git repository. Git's automatic bare repository discovery during directory traversal lets an attacker set core.fsmonitor or other executable config keys, such as core.hookspath, diff.external and merge.tool, which git runs during status, diff or rev-parse without user awareness or approval.
Fix: Fixed in 1.0.43.
The LangSmith SDK's prompt pull methods (`pull_prompt` / `pull_prompt_commit` in Python, `pullPrompt` / `pullPromptCommit` in JS/TS) deserialize prompt manifests from the LangSmith Hub without distinguishing public prompts pulled by `owner/name` from prompts within the caller's own organization. A malicious or compromised publisher can supply manifests that instantiate LangChain objects with attacker-chosen constructor arguments, such as an LLM `base_url`, which can redirect traffic and expose prompts, credentials and other secrets, or alter model behavior.
CVE-2026-42048 affects Langflow versions prior to 1.9.0 in the Knowledge Bases API (DELETE /api/v1/knowledge_bases). User-supplied knowledge base names are concatenated directly into file paths without sanitization or boundary validation. An authenticated attacker can delete arbitrary directories on the server's filesystem, causing data loss and potential service disruption.
Fix: Fixed in 1.9.0.
NVD/CVE DatabaseGHSA-m77w-p5jj-xmhg reports that OpenClaude's BashTool input schema exposes `dangerouslyDisableSandbox` to the model, which the project's own threat model treats as an untrusted principal. In `shouldUseSandbox()` in `src/tools/BashTool/shouldUseSandbox.ts`, that flag skips the sandbox when `areUnsandboxedCommandsAllowed()` returns true, and that check defaults to true in `src/utils/sandbox/sandbox-adapter.ts`. A prompt-injected model can therefore set the flag in a `tool_use` block and run arbitrary host commands under default configuration.
CVE-2026-2614 affects the `_create_model_version()` handler in `mlflow/server/handlers.py` in mlflow/mlflow versions 3.9.0 and earlier. A `CreateModelVersion` request carrying the tag `mlflow.prompt.is_prompt` bypasses source path validation, so an unauthenticated remote attacker can store an arbitrary local filesystem path as a model version source. `get_model_version_artifact_handler()` then serves files from that path without checking prompt status, allowing reads of arbitrary server files with a complete loss of confidentiality.
Fix: The LangSmith SDK now blocks pulling public prompts by `owner/name` by default; callers must pass `dangerously_pull_public_prompt=True` (Python) or `dangerouslyPullPublicPrompt: true` (JS/TS) after reviewing the prompt…
GitHub Advisory DatabaseFix: Fixed in version 3.10.0.