CVE-2026-30822: Flowise Mass Assignment Vulnerability in Leads Endpoint

flowise Updated 07 Mar 2026

Summary

06/03/2026
Yes i
High
7.7

CVE-2026-30822: Flowise Allows Mass Assignment in /api/v1/leads Endpoint. Affects flowise versions < 3.0.13. Fixed in 3.0.13. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Flowise is an open-source application designed to facilitate the creation and management of leads through its API. It allows users to interact with lead data, enabling functionalities such as lead creation, updates, and retrieval. The application is built using Node.js and TypeORM, which provides a robust structure for managing database interactions. However, a critical vulnerability has been identified in the leads creation endpoint, which allows unauthorized users to manipulate internal fields of the Lead entity.

Vulnerability Detail

The vulnerability arises from a Mass Assignment flaw in the '/api/v1/leads' endpoint, allowing any unauthenticated user to control internal entity fields such as 'id', 'createdDate', and 'chatId' by including them in the request body. This is due to the use of Object.assign() without proper input validation or field filtering, enabling attackers to bypass auto-generated fields and inject arbitrary values. The implications of this vulnerability include potential data integrity violations, audit trail manipulation, and the risk of ID collisions, which could lead to overwriting existing records.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install flowise@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.0.13

This is the first release that contains the fix.

npm install flowise@3.0.13

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can manually filter the fields that are assigned to the Lead entity. Here’s an example of how to do this in the createLead function:

const createLead = async (body: Partial<ILead>) => {
try {
        const chatId = body.chatId ?? uuidv4();
        const newLead = new Lead();
        const allowedFields = ['chatflowid', 'name', 'email', 'phone'];
        for (const field of allowedFields) {
            if (body[field] !== undefined) {
                newLead[field] = body[field];
            }
        }
        newLead.chatId = chatId;
        const appServer = getRunningExpressApp();
        const lead = appServer.AppDataSource.getRepository(Lead).create(newLead);
        const dbResponse = await appServer.AppDataSource.getRepository(Lead).save(lead);
        return dbResponse;
    } catch (error) {
        throw new InternalFlowiseError(...);
    }
};

Conclusion

The Mass Assignment vulnerability in Flowise's leads endpoint poses significant risks to data integrity and security. It is crucial for users to update to the patched version and implement proper input validation to mitigate these risks.

See every vulnerability recorded for flowise →

Share this vulnerability

FAQ

The vulnerability is a Mass Assignment flaw that allows unauthorized users to manipulate internal fields of the Lead entity.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The impacts include data integrity violations, potential overwriting of existing records, and manipulation of audit trails.

Yes, the vulnerability has been patched in version 3.0.13 of the Flowise package. It is recommended to update to this version.

The CVSS score of this vulnerability is 7.7, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for flowise.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install flowise@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.0.13

This is the first release that contains the fix.

npm install flowise@3.0.13

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback