NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Flowise

CVE-2026-41267: Flowise: Improper Mass Assignment in Account Registration Enables Unauthorized Organization Association

highCVSS 3.0 8.1GHSA-48m6-ch88-55mj

The account registration endpoint in Flowise up to 3.0.13 maps client JSON straight onto internal models, so an unauthenticated attacker can inject organization, role and audit fields. Supplying an existing organization ID attaches the new account to that organization. The advisory names Flowise Cloud. Upgrade the flowise package to 3.1.0.

Published Apr 16, 2026 · Updated Apr 24, 2026 · Analysis Oct 30, 2026

What an attacker can do

POST /api/v1/account/register should accept a minimal user payload with name, email and credential. The backend does not use an allowlist or a DTO. It copies whatever JSON arrives into its domain objects. An attacker can add server-managed fields such as createdBy, updatedBy, createdDate and updatedDate, and nested objects named organization, organizationUser, workspace and workspaceUser. The server stores them as given.

The serious part is the membership data. The proof of concept sends an organization with the id of an existing organization and an organizationUser with that organizationId and an owner role id. The server answers 201 Created and persists the values. The new account is then linked to an organization its creator does not belong to, with a role the creator chose.

No account or login is needed, but the attacker must know the target organization's ID and a role ID, which is why the CVSS vector rates attack complexity as high. In a multi-tenant deployment this gives cross-tenant access and privilege escalation at sign-up, with forged audit metadata that hides it. The impact section names Flowise Cloud. The advisory does not say whether a self-hosted instance is exposed, which depends on whether it exposes the registration route.

Who is affected

The flowise npm package at 3.0.13 and earlier. The advisory impact section names deployments of Flowise Cloud that expose the registration endpoint, and the proof of concept targets cloud.flowiseai.com. For self-hosted instances, the advisory does not say. Check the version, and check whether /api/v1/account/register is reachable:

npm ls flowise

The Flowise repository has since been archived and is read-only.

flowise

Ecosystem
npm
Affected
<= 3.0.13
Fixed in
3.1.0
Check
npm ls flowise

How to fix it

Upgrade flowise to 3.1.0:

npm install -g [email protected]

The advisory names only the patched version and does not describe the code change. It lists no workaround. If you cannot upgrade, restrict access to /api/v1/account/register at a reverse proxy so that only trusted users can sign up. After upgrading, review user, organization and workspace membership records, and remove accounts you did not approve.

How to tell if you were hit

Review the users and organization memberships for accounts that joined an organization without an invitation, especially ones with owner or admin roles. Look for records whose createdBy, updatedBy, createdDate or updatedDate look wrong, such as dates in the past from before the product existed, or a createdBy that does not match a real user. In access logs, look for POST requests to /api/v1/account/register with large bodies that include organization or organizationUser keys.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

An improper mass assignment (JSON injection) vulnerability in the account registration endpoint of Flowise Cloud allows unauthenticated attackers to inject server-managed fields and nested objects during account creation. This enables client-controlled manipulation of ownership metadata, timestamps, organization association, and role mappings, breaking trust boundaries in a multi-tenant environment.

Details

The POST /api/v1/account/register endpoint is intended to accept a minimal payload to create a new user account (e.g., name, email, password). However, the backend fails to enforce a strict allowlist or DTO-based validation and instead blindly maps client-supplied JSON to internal domain models.

As a result, attackers can include additional nested objects and server-managed fields in the request body such as organization, organizationUser, workspace, workspaceUser, and metadata fields like createdBy, updatedBy, createdDate, and updatedDate. These fields are persisted as provided by the client rather than being generated or validated server-side.

This behavior demonstrates a trust boundary violation where authorization and ownership decisions that must be enforced by the server are effectively delegated to untrusted client input. In a multi-tenant SaaS context, this can lead to unauthorized organization association and role assignment during registration.

PoC

Send a standard registration request:

POST /api/v1/account/register HTTP/2
Host: cloud.flowiseai.com
Content-Type: application/json

{
  "user": {
    "name": "Test User",
    "email": "[email protected]",
    "credential": "StrongPassword123!"
  }
}

Observe the 201 Created response returning a newly created user and related objects (organization, workspace, roles).

Send a modified registration request that injects additional server-managed fields and nested objects:

POST /api/v1/account/register HTTP/2 Host: cloud.flowiseai.com Content-Type: application/json

{
  "user": {
    "name": "Injected User",
    "email": "[email protected]",
    "credential": "StrongPassword123!",
    "createdBy": "<arbitrary-uuid>",
    "updatedBy": "<arbitrary-uuid>",
    "createdDate": "1999-12-27T13:10:47.666Z",
    "updatedDate": "1999-12-27T13:10:47.666Z"
  },
  "organization": {
    "id": "<existing-organization-uuid>",
    "name": "Injected Organization"
  },
  "organizationUser": {
    "organizationId": "<existing-organization-uuid>",
    "roleId": "<owner-role-uuid>"
  }
}

Observe that the server responds with 201 Created and persists the injected fields, reflecting client-controlled values for ownership metadata, timestamps, and organization association.

Impact

  • Vulnerability Class: Mass Assignment / JSON Injection / Improper Input Validation.
  • Who is impacted: All deployments of Flowise Cloud exposing the registration endpoint.

By supplying a known organizationId during registration, an unauthenticated attacker can create a new user account directly associated with an existing organization they do not belong to. This results in unauthorized cross-tenant access and privilege escalation at account creation time, completely bypassing organizational ownership and trust boundaries.

Security Consequences:

  1. Client-controlled manipulation of server-managed fields (audit timestamps, ownership metadata).
  2. Unauthorized association of newly created accounts with existing organizations.
  3. Injection of role and membership relationships during registration.
  4. Violation of trust boundaries in a multi-tenant environment, increasing the risk of privilege abuse and audit integrity failures.

Credited to berkdedekarginoglu.

Questions

Does the attacker need an account?

No. The registration endpoint is unauthenticated. The attacker needs the target organization's ID and a role ID, which the CVSS vector reflects as high attack complexity.

Is self-hosted Flowise affected?

The advisory impact section names Flowise Cloud only. The package range covers 3.0.13 and earlier, so a self-hosted instance that exposes the registration endpoint may be affected. The advisory does not confirm it.

Which version fixes CVE-2026-41267?

Flowise 3.1.0. Versions up to 3.0.13 are affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Flowise vulnerabilities

All Flowise entries