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

CVE-2026-41266: Flowise: Sensitive Data Leak in public-chatbotConfig

highCVSS 4.0 7.7 · 3.1 7.5GHSA-4jpm-cgx2-8h37

Flowise up to 3.0.13 serves a chatflow's full flowData, including plaintext API keys and HTTP Authorization headers, from the unauthenticated endpoint GET /api/v1/public-chatbotConfig/:id. Anyone who knows a chatflow UUID can read those secrets. Upgrade the flowise package to 3.1.0 and rotate any credentials stored in chatflows.

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

What an attacker can do

The getSinglePublicChatbotConfig function in packages/server/src/services/chatflows/index.ts returns the whole flowData object with no authorization check and no sanitization. A code comment says it is safe because the chatbot config holds no sensitive credentials, but flowData does. It includes password-type fields stored in plaintext, such as the unstructuredAPIKey on an S3 File node, HTTP Authorization headers set on Requests GET and POST nodes, and internal API endpoints and webhook URLs.

The only precondition is the chatflow UUID. UUIDs show up in embedded chat widgets, Referer headers and logs, so they are easy to collect for any chatflow that is published on a website. The attacker then runs one request:

curl -s "https://<host>/api/v1/public-chatbotConfig/<CHATFLOW_UUID>"

The response includes the secrets inside the flowData string. The attacker gets third-party API keys and bearer tokens that the flow uses, and a map of internal services. The impact is confidentiality only. The reporter says it affects Flowise Cloud users with such chatflows and any self-hosted instance exposed to the internet. The leaked keys can be used long after the Flowise instance is patched.

Who is affected

The flowise npm package at 3.0.13 and earlier. Exposure depends on your flows: chatflows with password-type fields or HTTP headers hold secrets, and any chatflow whose UUID is public can be read. Check the version:

npm ls flowise

For Docker, check the image tag. Test your own instance by requesting the endpoint for one of your chatflow IDs without credentials.

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 or list a workaround. Upgrading does not undo past exposure. Rotate every API key, token and Authorization header value that was stored in a chatflow on an affected instance, since anyone with a UUID could have read them. Longer term, keep credentials in Flowise's credential store, not in node fields or headers.

How to tell if you were hit

Check web server and reverse proxy logs for GET requests to /api/v1/public-chatbotConfig/ from IPs that are not your users, especially many different UUIDs from one client. The endpoint is public by design for chat widgets, so volume and unfamiliar clients matter more than any single request. Then check the services whose keys sat in your chatflows, such as Unstructured and any API behind a Requests node, for use of those keys from unknown addresses.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

/api/v1/public-chatbotConfig/:id ep exposes sensitive data including API keys, HTTP authorization headers and internal configuration without any authentication. An attacker with knowledge just of a chatflow UUID can retrieve credentials stored in password type fields and HTTP headers, leading to credential theft and more.

Details

Knowledge of chatflow UUID can be obtained from embedded chat widgets, referrer headers or logs and it's the only prerequest.

getSinglePublicChatbotConfig function in packages/server/src/services/chatflows/index.ts returns the full flowData object without authorization check or data sanitization.

There is a comment as "Safe as public endpoint as chatbotConfig doesn't contain sensitive credential" but flowData does contain sensitive data such as:

type: 'password' fields are stored in plaintext (unstructuredAPIKey in S3File node). HTTP Authorization headers in POST / GET Requests nodes. Internal API endpoints and webhook URLs.

PoC

  • Add an S3 File node, set "File Processing Method" to "Unstructured".
  • Enter an API key in "Unstructured API KEY" field or add a Requests Post node with Authorization header.
  • Save the chatflow.

curl -s "https://localhost/api/v1/public-chatbotConfig/{CHATFLOW_UUID}"

Response:

{
  "flowData": "{...\"unstructuredAPIKey\":\"victim_key\"...\"requestsPostHeaders\":\"Bearer victim_token\"...}"
}

Impact

Impacts all Flowise Cloud users with chatflows containing password type fields or any HTTP headers. And self hosted Flowise instances exposed to the internet.

Credited to DenizParlak.

Questions

Does the attacker need a Flowise account?

No. The endpoint is unauthenticated. The attacker only needs the chatflow UUID, which can leak through embedded chat widgets, referrer headers or logs.

What leaks?

The full flowData: plaintext password-type fields such as an Unstructured API key, HTTP Authorization headers in Requests nodes, and internal API endpoints and webhook URLs.

Which version fixes CVE-2026-41266?

Flowise 3.1.0. Version 3.0.13 and earlier are affected. Rotate stored keys as well, because upgrading does not retract them.

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