CVE-2025-34267: Flowise Authenticated Command Execution And Sandbox Vulnerability

HIGH
Advisory Identifier: GHSA-r4hh-pcgx-j5r2
CWE-77
Published
Advisory Summary

CVE-2025-34267 is a HIGH authenticated command execution and sandbox vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Flowise libraries in the npm ecosystem. The issue involves authenticated command execution and sandbox bypass via puppeteer and playwright packages. Remediation is available by upgrading affected packages to version 3.0.8.

CVE-2025-34267 at a Glance

CVE Identifier CVE-2025-34267
GHSA Identifier GHSA-r4hh-pcgx-j5r2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Flowise
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2025-34267

To remediate this vulnerability, upgrade all affected Flowise dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

flowise fixed: 3.0.8
npm install flowise@3.0.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls flowise

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-34267, inspect your project dependencies using npm:

npm ls flowise

Analyze the terminal output to locate any version of Flowise in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.8), your application is affected.

Note: The npm ls flowise command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Flowise, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2025-34267 Affected Flowise Versions

1 component(s)
Fixed Versions:
3.0.8
Product / Package Ecosystem Affected Versions Fixed Version
flowise
npm
≥ 3.0.1
< 3.0.8
3.0.8

References

Frequently Asked Questions

What is CVE-2025-34267?
CVE-2025-34267 is a security vulnerability in Flowise involving Authenticated Command Execution and Sandbox Bypass via Puppeteer and Playwright Packages under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Flowise versions are affected?
Affected versions include releases prior to 3.0.8 across affected packages: flowise.
What version fixes CVE-2025-34267?
Upgrading to 3.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flowise affected?
Yes, flowise is affected in releases prior to 3.0.8. Upgrade your dependency to 3.0.8 or later.
What CWE is associated with CVE-2025-34267?
CVE-2025-34267 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check npm dependencies for CVE-2025-34267?
Run the dependency tree command: 'npm ls flowise'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r4hh-pcgx-j5r2",
  "modified" : "2025-10-14T22:17:23Z",
  "published" : "2025-10-14T21:30:47Z",
  "aliases" : [ "CVE-2025-34267" ],
  "summary" : "Flowise: Authenticated Command Execution and Sandbox Bypass via Puppeteer and Playwright Packages",
  "details" : "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.\n\n**NOTE**: This vulnerability was incorrectly assigned as a duplicate CVE-2025-26319 and should be considered distinct from that identifier.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "flowise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.1"
      }, {
        "fixed" : "3.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5w3r-f6gm-c25w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-34267"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FlowiseAI/Flowise/pull/5231"
  }, {
    "type" : "WEB",
    "url" : "https://flowiseai.com"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FlowiseAI/Flowise"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/flowise-auth-command-execution-and-sandbox-bypass-via-puppeteer-and-playwright-packages"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-14T22:17:23Z",
    "nvd_published_at" : "2025-10-14T20:15:34Z"
  }
}