CVE-2026-91931: Flowise before 3.1.4 Remote Code Execution via Custom MCP npx

Published Sep 15, 2026
·
Updated

Flowise before 3.1.4 contains a remote code execution vulnerability in the Custom MCP node that allows authenticated attackers to execute arbitrary code by supplying npx package names in the mcpServerConfig parameter. Attackers can invoke npx with attacker-controlled npm packages to execute code on the Flowise server.

Affected Software

1 affected component
Flowise Flowise<3.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Flowise to a version that resolves this vulnerability.

    Fixed in 3.1.4
  2. Configuration

    Ensure mcpServerConfig does not accept attacker-controlled values for npx package names in the Custom MCP node.

    Flowise (Custom MCP node) mcpServerConfig (npx package names) = Do not supply attacker-controlled npx package names

Event History

Sep 15, 2026
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

An attacker needs an authenticated Flowise account with the ability to supply the mcpServerConfig value for a Custom MCP node. No user interaction is required.

2

Which deployments are affected?

Flowise versions before 3.1.4 are affected where the Custom MCP node can be configured with attacker-controlled npx package names.

3

What is the impact of successful exploitation?

An attacker can cause npx to invoke an attacker-controlled npm package, resulting in arbitrary code execution on the Flowise server. The reported impact includes compromise of confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203