CVE-2026-56274: Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess

Published Jun 23, 2026
·
Updated

Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restrictions. An attacker with a Flowise account of any role, or API access with view/update permissions for chatflows, can configure a malicious MCP server to bypass the validateCommandFlags blocklist (for example, 'docker build' is not blocked, and 'npx --yes' is not blocked while only '-y' is) and the validateArgsForLocalFileAccess checks, resulting in execution of arbitrary commands on the Flowise host.

Affected Software

2 affected components
Flowise Flowise<3.1.2
FlowiseAI Flowise<3.1.2

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.2

Event History

Jun 23, 2026
CVE Published
via MITRE·12:13 PM
Data Sourced
via MITRE·12:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56274?

CVE-2026-56274 has a critical severity score of 9.9.

2

How do I fix CVE-2026-56274?

To fix CVE-2026-56274, upgrade to Flowise version 3.1.2 or later.

3

What are the consequences of exploiting CVE-2026-56274?

Exploiting CVE-2026-56274 can lead to remote code execution on the affected system.

4

Who is affected by CVE-2026-56274?

Any user with a Flowise account or API access with view/update permissions is affected by CVE-2026-56274.

5

What types of vulnerabilities are associated with CVE-2026-56274?

CVE-2026-56274 is associated with OS command injection vulnerabilities.

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