{
  "id": "CVE-2026-56274",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56274",
  "published_at": "2026-06-23T12:13:00.703Z",
  "title": "Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess",
  "vendor": "Flowise",
  "product": "Flowise",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-28T21:51:19Z",
    "first_seen_at": null,
    "days_after_publication": 5.4,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/flowise_mcp_rce.rb"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Flowise",
        "product": "Flowise",
        "ranges": [
          "\u003c 3.1.2"
        ],
        "fixed_in": [
          "3.1.2"
        ]
      },
      {
        "vendor": "Flowise",
        "product": "Flowise Components",
        "ranges": [
          "\u003c 3.1.2"
        ],
        "fixed_in": [
          "3.1.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Flowise to 3.1.2 or later.",
      "Upgrade Flowise Components to 3.1.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-m99r-2hxc-cp3q"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/flowise_mcp_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Flowise MCP Server Remote Code Execution (exploit/multi/http/flowise_mcp_rce)",
      "published_at": "2026-06-28T21:51:19Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
