Patchfirst
CVE-2024-58351 Critical · 9.8 EPSS 0.7%

Flowise - Remote Code Execution via overrideConfig Parameter

Fix:upgrade flowise to 2.1.4 also fixes CVE-2024-31621, CVE-2024-36420, +1 Details ↓

Flowise · Flowise

Summary

Flowise before version 2.1.4 contains a flaw in the overrideConfig option, which lets configuration be injected into a Chainflow at execution time through both the frontend web integration and the backend Prediction API. An attacker over the network with no authentication or user interaction can abuse this feature, which is enabled by default without an allow-list and relies on vm2 for sandboxing, to achieve remote code execution and sandbox escape, along with denial of service, server-side request forgery, prompt injection, and exfiltration of server variables and data.

Official description · CVE.org

Flowise before 2.1.4 allows configuration to be injected into the Chainflow during execution via the overrideConfig option, supported in both the frontend web integration and the backend Prediction API. Because this feature is enabled by default with no allow-list of permitted variables and relies on vm2 for sandboxing, an attacker can abuse it to achieve remote code execution and sandbox escape, denial of service by crashing the server, server-side request forgery, prompt injection, and server variable and data exfiltration. These issues are self-targeted and do not persist to other users.

Breakdown
64.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+4 mo

6 fixes in flowise over 2 years. The latest fix listed for flowise is 3.0.6.

Fixes in flowisenpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.8.1CVE-2024-3162129 Apr 2024
  2. 2.1.1CVE-2024-914824 Sep 2024
  3. 2.1.4CVE-2024-5835120 Jun 2026
  4. 3.0.5CVE-2025-291926 Oct 2025
  5. 3.0.6CVE-2025-5843412 Sep 2025
  6. 3.0.6CVE-2025-5716417 Oct 2025Latest listed

Affected versions and fixes

as published in the CVE record

Flowise Flowise

Affected: < 2.1.4

Not affected: 2.1.4

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: flowise.

Upgrade to 2.1.4

Fixes this CVE and 3 other known vulnerabilities in this package (CVE-2024-31621, CVE-2024-36420, +1).

Still affected on this line by CVE-2025-26319 (no fix published); CVE-2025-55346 (no fix published); CVE-2025-58434 (fixed in 3.0.6, a newer line); CVE-2025-8943 (no fix published); CVE-2026-30820 (fixed in 3.0.13, a newer line); CVE-2026-46442 (fixed in 3.1.2, a newer line); CVE-2026-56270 (fixed in 3.1.0, a newer line); CVE-2026-69255 (fixed in 3.1.3, a newer line).

npmnpm install flowise@2.1.4

The first fix for CVE-2024-58351.

Affected versions

If you runUpgrade to
All versions before 2.1.42.1.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 6 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close