CVE-2025-26319: Flowise FlowiseAI Flowise Arbitrary File Upload Vulnerability

HIGH
Advisory Identifier: GHSA-69jq-qr7w-j7qh
CWE-434
Published
Advisory Summary

CVE-2025-26319 is a HIGH flowiseai flowise arbitrary file upload vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Flowise libraries in the npm ecosystem. The issue involves flowiseai flowise arbitrary file upload vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2025-26319 at a Glance

CVE Identifier CVE-2025-26319
GHSA Identifier GHSA-69jq-qr7w-j7qh
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Flowise
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2025-26319

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: Latest secure release
npm install flowise@Latest secure release
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-26319, 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 the patched release), 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. 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

FlowiseAI Flowise v2.2.6 was discovered to contain an arbitrary file upload vulnerability in /api/v1/attachments.

CVE-2025-26319 Affected Flowise Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
flowise
npm
≤ 2.2.6

References

Frequently Asked Questions

What is CVE-2025-26319?
CVE-2025-26319 is a security vulnerability in Flowise involving FlowiseAI Flowise arbitrary file upload vulnerability under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which Flowise versions are affected?
Affected versions include releases prior to current release patches across affected packages: flowise.
What version fixes CVE-2025-26319?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is flowise affected?
Yes, flowise is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-26319?
CVE-2025-26319 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check npm dependencies for CVE-2025-26319?
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-69jq-qr7w-j7qh",
  "modified" : "2025-03-05T18:37:33Z",
  "published" : "2025-03-05T00:30:35Z",
  "aliases" : [ "CVE-2025-26319" ],
  "summary" : "FlowiseAI Flowise arbitrary file upload vulnerability",
  "details" : "FlowiseAI Flowise v2.2.6 was discovered to contain an arbitrary file upload vulnerability in /api/v1/attachments.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "flowise"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.2.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-26319"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FlowiseAI/Flowise"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FlowiseAI/Flowise/blob/flowise-ui%402.2.6/packages/server/src/index.ts#L165-L190"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dorattias/CVE-2025-26319"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-05T18:37:33Z",
    "nvd_published_at" : "2025-03-04T22:15:40Z"
  }
}