Flowise can run attacker code when Puppeteer or Playwright tools are used

HighSE Fix-First Score 43/100CVE-2025-34267SE-AIV-01672Remote code executionAI apps and chat interfacesMade public 15 Oct 2025

Download as PDF

What this means

An attacker with login access to Flowise can run any code they want on the server. They could steal data, install malware, take down the service, or use the server to attack other systems. The damage depends on what the server can reach and what data it holds.

SecurityElites Manager Brief: the decision in one minute

Flowise versions 3.0.1 to 3.0.7 allow anyone with a login to run code on your server if Puppeteer or Playwright tools are enabled. You must upgrade to 3.0.8 immediately. If you cannot upgrade today, disable these tools and the ALLOW_BUILTIN_DEP setting.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or infrastructure team that runs Flowise.
Likely effortAbout 15 minutes per Flowise instance: check the version, upgrade the npm package, and restart the service. It could take longer if you need to test the upgrade in a staging environment first or if you run multiple instances.

Questions to ask your team or supplier

  • Do we have ALLOW_BUILTIN_DEP enabled in our Flowise deployment, and if so, why?
  • Have any users created or run tools using Puppeteer or Playwright in our Flowise instance? If so, who, when, and for what purpose?
  • If we cannot upgrade to 3.0.8 immediately, what is our plan to disable Puppeteer and Playwright tools or disable ALLOW_BUILTIN_DEP?

Message you can forward to the owning team

Security notice: Flowise can run attacker code when Puppeteer or Playwright tools are used (CVE-2025-34267)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to flowise 3.0.8 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2025-34267-flowise-can-run-attacker-code-when-puppeteer-or-playwright/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01672

What is at stake in your AI setup

  • Keys and credentials for AI providers or APIs: an attacker could steal them and use them to run up bills or access your services.
  • Tools and systems the agent is connected to: an attacker could use the compromised server to reach databases, internal services, or external systems.
  • Prompts and chat history: an attacker could read sensitive information or instructions used to run the agent.
  • Training or retrieval data: an attacker could copy files or data used to train or retrieve information for the agent.

Map where your company uses AI

Who is exposed

  • Flowise 3.0.1 through 3.0.7 with ALLOW_BUILTIN_DEP enabled
  • Teams using Puppeteer or Playwright integration tools in Flowise
  • Flowise instances accessible to users who have login credentials
  • Services or databases the Flowise server can connect to or read from

Upgrades you need

SoftwareAffected versionsMove to
flowise
npm
3.0.1 up to, but not including, 3.0.83.0.8 or later

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedWorking attack code is public, so expect attacks to follow
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn administrator account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedLimited
Risk of: the service being taken downLimited
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:H/SA:L

Kind of coding mistake

  • CWE-77: commands can be injected

If you cannot upgrade today

  • If you cannot upgrade immediately, disable ALLOW_BUILTIN_DEP in your Flowise configuration or environment variables and restart the service.
  • Restrict access to Flowise login to only trusted users and use strong authentication. Remove login access for accounts that do not need it.
  • Delete or disable any existing tools that use Puppeteer or Playwright until you can upgrade.

Signs it may already have been used against you

  • Look for tool creation events or executions involving Puppeteer or Playwright in Flowise audit or activity logs.
  • Search for unexpected command execution or process spawning events in server logs that coincide with Flowise tool execution.
  • Check for modifications to Flowise configuration or tool definitions that add or modify browser binary paths or launch parameters.
  • Look for logins to Flowise from unusual IP addresses or at unusual times, especially if followed by tool creation or execution.

SecurityElites Fix Guide: step by step

  1. Find where Flowise is installedCheck where your Flowise npm package is located. Run npm list flowise in the directory where it is installed or look in your package.json file to confirm the package is there.
  2. Check the current versionRun npm list flowise or look at the version in your package-lock.json or yarn.lock file. Note the version number.
  3. Check if ALLOW_BUILTIN_DEP is enabledLook at your Flowise configuration or environment variables for ALLOW_BUILTIN_DEP. If it is set to true or enabled, you are at risk. If you are unsure, check with your platform team.
  4. Upgrade Flowise to version 3.0.8 or laterRun npm install flowise@3.0.8 or later. Use the exact version command your team uses to manage npm packages. If you use a lockfile, update it after the install.
  5. Restart the Flowise serviceStop and start your Flowise process or service using the method your team uses (systemctl, docker restart, process manager, or manual stop/start).
  6. Confirm the upgrade workedRun npm list flowise and check that the version is 3.0.8 or later. You can also check the Flowise UI or logs to confirm it started without errors.
  7. Review access logs for suspicious activity before the upgradeLook at Flowise audit logs, authentication logs, or server logs for the period before you patched. Search for tool creation or execution events, especially any involving Puppeteer or Playwright. Look for logins or actions from unexpected users or at unusual times.
  8. Review and test any custom tools using Puppeteer or PlaywrightIf you have tools that use Puppeteer or Playwright, test them after the upgrade to make sure they still work. If they fail or behave differently, check the upgrade notes or contact support.

How to confirm it is fixed: Run npm list flowise and confirm the version is 3.0.8 or later.

SecurityElites Quick Fixes: copy and paste

Upgrade flowise with npmupgrade

npm install flowise@3.0.8
npm ls flowise

Check installed Flowise versionfor this issue

npm list flowise

Check if ALLOW_BUILTIN_DEP environment variable is setfor this issue

echo $ALLOW_BUILTIN_DEP

Run the service in a locked-down containergeneral hardening

docker run --read-only --cap-drop ALL \
  --security-opt no-new-privileges --user 1000:1000 \
  -p 127.0.0.1:8080:8080 YOUR_IMAGE

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2025-34267) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - flowise (npm): must be 3.0.8 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What is the difference between being on version 3.0.7 and 3.0.8?A good answer: Version 3.0.7 is vulnerable to code execution through Puppeteer or Playwright tools; version 3.0.8 fixes the sandbox escape that allowed this.
Who can carry out this attack?A good answer: Only someone with a valid login account to Flowise who can create or run tools.
What would an attacker be able to do after exploiting this?A good answer: They could run any command or code on the server with the privileges of the Flowise process, potentially accessing data, stealing credentials, or compromising connected systems.
If ALLOW_BUILTIN_DEP is not enabled, is Flowise vulnerable?A good answer: No; the vulnerability requires ALLOW_BUILTIN_DEP to be enabled, so disabling it removes the attack path.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Flowise can run attacker code when Puppeteer or Playwright tools are used (CVE-2025-34267)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01672 https://securityelites.com/ai-vulnerabilities/cve-2025-34267-flowise-can-run-attacker-code-when-puppeteer-or-playwright/

### Why this matters
An attacker with login access to Flowise can run any code they want on the server. They could steal data, install malware, take down the service, or use the server to attack other systems. The damage depends on what the server can reach and what data it holds.

### What to do
1. Find where Flowise is installed
2. Check the current version
3. Check if ALLOW_BUILTIN_DEP is enabled
4. Upgrade Flowise to version 3.0.8 or later
5. Restart the Flowise service
6. Confirm the upgrade worked
7. Review access logs for suspicious activity before the upgrade
8. Review and test any custom tools using Puppeteer or Playwright

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2025-34267-flowise-can-run-attacker-code-when-puppeteer-or-playwright/

### Done when
- [ ] flowise is at 3.0.8 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Run npm list flowise and confirm the version is 3.0.8 or later.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 14 Oct 2025: Made public
  • 3 Dec 2026: Published

Official record

Flowise v3.0.1 < 3.0.8 and all versions after with 'ALLOW_BUILTIN_DEP' enabled contain an authenticated remote code execution vulnerability and node VM sandbox escape due to insecure use of integrated modules (Puppeteer and Playwright) within the nodevm execution environment. An authenticated attacker able to create or run a tool that leverages Puppeteer/Playwright can specify attacker-controlled browser binary paths and parameters. When the tool executes, the attacker-controlled executable/parameters are run on the host and circumvent the intended nodevm sandbox restrictions, resulting in execution of arbitrary code in the context of the host.**NOTE**: This vulnerability was incorrectly assigned as a duplicate CVE-2025-26319 and should be considered distinct from that identifier.

Weakness type: CWE-77

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2025-34267

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 3 Dec 2026. Read the vendor advisory before changing a production system.