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
CVE-2026-9205 affects IBM Langflow OSS and concerns a weak cryptographic key derivation flaw in the ensure_fernet_key() function. The weakness is classified as CWE-338, use of a cryptographically weak pseudo-random number generator. NVD published the entry on 08/05/2026 and last modified it on 08/06/2026, and NVD has not yet provided its own assessment.
Flowise's OAuth2 token refresh endpoint, POST /api/v1/oauth2-credential/refresh/:credentialId, is listed in WHITELIST_URLS and so requires no authentication. It decrypts the stored credential, sends a refresh request to the configured OAuth provider, and returns the new access_token in the response body. An attacker who obtains a credential ID can use this to steal access tokens for the victim's connected services, such as Google or Microsoft accounts.
Flowise version 3.1.1 (tested on Ubuntu 25.10) contains a flaw in the run method of the CSV_Agents class, used by the CSV Agent node. Untrusted input is placed into an LLM prompt without adequate sanitization, so a prompt injection can make the LLM return a malicious Python script. That script passes a regex blocklist validator in packages/components/src/pythonCodeValidator.ts, which can be bypassed, and then runs in pyodide, which is not sandboxed from the host OS, giving code execution as the server's service account. Authentication is not required to exploit it.
GHSA-gmmw-qg98-6j6p reports broken access control in Flowise's organization billing endpoints, /api/v1/organization/update-subscription-plan and /api/v1/organization/update-additional-seats in packages/server/src/enterprise. The controllers take subscriptionId from the request body and never check that it belongs to the caller's activeOrganization. An authenticated user can therefore change another organization's Stripe subscription plan or seat quantity, with possible unintended charges or service downgrades.
The unauthenticated `/api/v1/text-to-speech/generate` endpoint in Flowise accepts any `chatflowId` without checking whether the chatflow is public. An attacker who knows a valid chatflow UUID can use that chatflow's stored TTS credential (OpenAI or ElevenLabs API key) to generate unlimited text-to-speech audio. The costs fall on the chatflow owner's account.
The PUT /api/v1/executions/:id endpoint in Flowise, as reported in flowise-components@3.1.0, lacks the checkAnyPermission() middleware that protects the GET and DELETE execution endpoints. Any authenticated user, regardless of assigned permissions, can modify any execution record in their workspace, including its state, data and metadata. The issue is classified as CWE-862 (Missing Authorization) with a severity of HIGH (CVSS ~7.5).
Three OAuth2 credential endpoints in Flowise look up credentials by `id` alone, with no `workspaceId` filter. The `callback` and `refresh` endpoints are whitelisted from all authentication, which lets authenticated users reach credentials in other workspaces and lets unauthenticated attackers inject or refresh tokens for any credential. The source's own demonstrations show leaked `client_id` and `scope` values from another workspace, forged callbacks that overwrite a victim credential's stored tokens, and unauthenticated token refreshes.
The GET /api/v1/credentials/:id endpoint in Flowise v3.0.13 returns decrypted credential data in the plainDataObj field. The redactCredentialWithPasswordType() function masks only fields declared as type 'password', so string-type fields such as MongoDB connection URLs, Google service account JSON with RSA private keys, and AWS access keys are returned in plaintext. Any authenticated user with the credentials:view permission can retrieve these secrets for any credential in their workspace.
The GET /api/v1/upsert-history endpoint in Flowise returns the entire server-wide upsert history, with responses over 100MB, instead of scoping results to the requesting user, tenant or workspace. The response exposes sensitive vector store configuration, including the Qdrant Server URL and collection name. The advisory rates this High severity information disclosure.
The openai-assistants-vector-store endpoints in Flowise accept a client-controlled credential parameter and load that credential by id without checking workspace ownership. An authenticated user in one workspace who knows another workspace's credentialId can use that workspace's stored OpenAI key, enabling unauthorized access to victim vector stores and files and billing against the victim's OpenAI account. The precondition is knowledge of the victim credentialId and a user holding assistants permissions.
Flowise's CSVAgent node interpolates an unvalidated base64 segment from the csvFile data URI directly into a Python template run by Pyodide. Because Pyodide's default js bridge exposes eval and dynamic import() on Node.js, an injected payload can break out of the string literal and execute code in the host Node.js process, not the WASM sandbox. A workspace user with chatflows:create can plant the crafted node, and any unauthenticated request to the public POST /api/v1/prediction/:id endpoint then triggers the RCE.
Flowise on current main lets an authenticated user with documentStores:preview-process permission trigger the S3 Directory document loader with attacker-controlled S3 object keys. The loader joins each key to a temporary directory with path.join and writes the object bytes to disk without validating ../ traversal sequences, and cleanup removes only the original temporary directory, so the written files persist on the host. A related variant in the S3File loader (fileProcessingMethod = unstructured) shares the same root cause.
Flowise fetches a workspace's variables without enforcing the variables:view permission at the code-execution path in packages/components/src/utils.ts. Any user or API key that can call /api/v1/node-custom-function gets $vars pre-populated with every workspace variable, including runtime values read from process.env, so a caller denied variables:view can still read secrets such as database passwords, JWT secrets and cloud keys.
The validatePythonCodeForDataFrame blacklist in Flowise's packages/components/src/pythonCodeValidator.ts can be bypassed with Unicode homoglyph identifiers, letting arbitrary Python run inside Pyodide and full OS command execution on the Flowise host through Pyodide's js module interop. The validator gates pyodide.runPythonAsync calls in the CSV Agent and Airtable Agent, and the source says this reopens the paths patched as GHSA-3hjv-c53m-58jj and GHSA-v38x-c887-992f. The source states the original patches are effectively reintroduced in 3.1.2.
The mitigation for CVE-2025-8943 in Flowise 3.1.1 blocks the `-y` and `--yes` flags on `npx`, but its environment-variable check denies only four names by exact match: PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH and NODE_OPTIONS. Because npm reads `npm_config_*` environment variables, setting `npm_config_yes=true` in an MCP server configuration makes `npx` auto-install and execute the named package, bypassing the patch. With `CUSTOM_MCP_SECURITY_CHECK=true`, the source says a default deployment without authentication allows unauthenticated remote code execution.
Flowise's `DELETE /api/v1/chatflows/:id` route accepts requests carrying either `chatflows:delete` or `agentflows:delete`, but the delete logic never checks the target resource's `type`. A caller holding only `agentflows:delete` can therefore delete a `CHATFLOW`, and a caller holding only `chatflows:delete` can delete an `AGENTFLOW`, within the same workspace. The flaw breaks the intended RBAC separation between Chatflows and Agentflows, causing unauthorized deletion and configuration loss.
The SQLite Record Manager node in FlowiseAI/Flowise 3.1.2 lets users control the database path through the additionalConfig input. Because the spread of additionalConfiguration follows the database setting, a user-supplied value overrides the intended path, so an attacker can write an SQLite database to an arbitrary filepath, including system directories, since the flowiseai/flowise:3.1.2 Docker image runs as root. The advisory notes the executed SQL query is not user controllable and tableName is validated against /^[a-zA-Z0-9_]+$/.
The unauthenticated POST /api/v1/prediction/:id endpoint in Flowise accepts an overrideConfig object and spreads it unconditionally into flowConfig (packages/server/src/utils/buildChatflow.ts) and flowData (packages/server/src/utils/index.ts) without checking apiOverrideStatus. An unauthenticated attacker can inject arbitrary properties into the execution context of any public chatflow, such as overwriting chatId to reach a victim's session or altering $flow.* template variables. This is distinct from GHSA-5cph-wvm9-45gj, which covered node input parameter overrides.
Flowise's HTTP security module (`httpSecurity.ts`) does not normalize IPv4-mapped IPv6 addresses such as `::ffff:127.0.0.1` before checking the deny list. Because of an `ipaddr.js` kind mismatch (`ipv6` vs `ipv4`), all IPv4 CIDR deny rules are skipped for these addresses. An attacker who controls DNS for a hostname can set an AAAA record to `::ffff:<target_ipv4>` and bypass SSRF protections to reach internal services, cloud metadata endpoints and localhost. The affected versions are all versions up to and including v3.1.1.
Flowise's CSVAgent node runs user-supplied Python through pyodide, intended for pandas CSV processing. A denylist blocks dangerous constructs, but the user-controlled customReadCSVFunc input can call pandas.read_pickle(), which deserializes a pickled payload and allows code execution without matching any denied pattern.
Fix: Suggested fix: remove the refresh endpoint from WHITELIST_URLS in constants.ts and add an authentication check in the route handler.
Fix: Enforce variables:view before injecting $vars, or inject only an explicit allowlist of the variables a function needs. In self-hosted deployments, consider disabling or heavily restricting type=runtime variables, or…
GitHub Advisory DatabaseFix: The source recommends allowlisting or stripping the environment before it reaches the child process rather than extending the denylist. No fixed version is stated.
GitHub Advisory Database