Skip to content
CriticalVulnerability

GHSA-hmgh-466j-fx4c: Flowise vulnerable to RCE via Dynamic function constructor injection

Published
Record updated
View JSON
Affected
  • flowise <= 2.2.7-patch.1
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
22.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Flowise passes user-supplied MCP Server Config input from the Custom MCP chatflow to the convertToValidJSONString function, which evaluates it with the Function constructor on the host instead of inside a sandbox such as @flowiseai/nodevm. A request to /api/v1/node-load-method/customMCP with a crafted mcpServerConfig string gives access to the Node.js global process object and modules such as child_process, enabling remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.