NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-56274
Summary

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.

Publication Date June 23, 2026, 10:16 p.m.
Registration Date June 27, 2026, 4:13 a.m.
Last Update June 26, 2026, 3:39 a.m.
CVSS3.1 : CRITICAL
スコア 9.9
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:* 3.1.2
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
flowiseaiのflowiseにおけるOS コマンドインジェクションの脆弱性
Title flowiseaiのflowiseにおけるOS コマンドインジェクションの脆弱性
Summary

Flowiseのバージョン3.1.2以前には、カスタムMCPサーバー機能に複数のOSコマンドインジェクションの脆弱性が存在します。これは、コマンドフラグの検証が不完全であり、ローカルファイルアクセス制限における正規表現のバイパスが原因です。Flowiseアカウントを持つ攻撃者は役割に関係なく、またはchatflowsの表示および更新権限を持つAPIアクセスを利用して、悪意のあるMCPサーバーを設定できます。これにより、validateCommandFlagsのブロックリスト(たとえば 'docker build' はブロックされず、'-y' のみがブロックされ、'npx --yes' はブロックされません)やvalidateArgsForLocalFileAccessの検査を回避し、Flowiseホスト上で任意のコマンドを実行させることが可能になります。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 23, 2026, midnight
Registration Date June 26, 2026, 11:53 a.m.
Last Update June 26, 2026, 11:53 a.m.
Affected System
flowiseai
flowise 3.1.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月26日]
  掲載
June 26, 2026, 11:53 a.m.