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

CVE-2025-29189: Flowise Vulnerable to SQL Injection via `tableName` Parameter

highCVSS 3.1 7.6GHSA-gjx9-wg9x-7gvp

Flowise 2.2.3 and earlier (npm `flowise-components`) has a SQL injection through the `tableName` parameter of the Postgres vector store node. An authenticated user can inject SQL into the connected database. Fixed in `flowise-components` 2.2.4, in a pull request titled "sanitize tablename".

Published Apr 9, 2025 · Updated Apr 10, 2025 · Analysis Nov 1, 2026

What an attacker can do

The Postgres vector store node (Postgres_VectorStores) takes a table name from its configuration and uses it when it builds SQL. The name is not sanitized, so a crafted tableName value can add its own SQL. The advisory text is short and does not describe the exact statements involved.

The CVSS vector is network, low complexity and low privileges, with high confidentiality, low integrity and low availability impact. The attacker therefore needs an account that can build or edit a chatflow, or API access to run a flow with an overridden node parameter. They can then read data the database user can read, and make smaller changes. The database behind a vector store often holds embedded document text, and may share the server with other application tables. The reach depends on the permissions of the Postgres role that the node uses.

Who is affected

Flowise up to and including 2.2.3, through the flowise-components npm package (<= 2.2.3). The vulnerable code is the Postgres vector store node. If you do not use that node, you are less exposed, but still upgrade. Check the version:

npm ls flowise flowise-components

For Docker, check the image tag. Review flows that use a Postgres vector store and who can edit them.

flowise-components

Ecosystem
npm
Affected
<= 2.2.3
Fixed in
2.2.4
Check
npm ls flowise-components

How to fix it

Upgrade flowise-components to 2.2.4, which means moving Flowise to the release that ships it.

npm install -g flowise@latest

The fix is pull request 3818, titled "Bugfix/update nodevm sandbox options, sanitize tablename". It sanitizes the table name. The sources I could read do not give a workaround. Until you upgrade, limit who can create or edit flows, and give the Postgres role used by the node the least privileges it needs.

How to tell if you were hit

Check Postgres logs for statements from the Flowise database role that contain unusual table names, such as quotes, semicolons, -- comments or UNION. Review chatflows that use the Postgres vector store for a tableName value that is not a plain identifier. Look at Flowise API logs for calls that override node parameters. Look for new tables or changed rows that your application did not create.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Flowise <= 2.2.3 is vulnerable to SQL Injection. via tableName parameter at Postgres_VectorStores.

Questions

Which Flowise version fixes CVE-2025-29189?

flowise-components 2.2.4 contains the fix. Version 2.2.3 and earlier are affected.

Does the attacker need to log in?

The CVSS vector requires low privileges, so yes: an account or API access that can reach the Postgres vector store node.

Is CVE-2025-29189 exploited in the wild?

No source says so and it is not in the KEV catalog. EPSS is low at 0.0032.

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