Description
Flowise before 3.1.3 validates Custom MCP stdio environment variables against a denylist using a case-sensitive comparison, so on Windows, where environment names are case-insensitive, supplying 'node_options' bypasses the NODE_OPTIONS denylist entry. An authenticated user who can configure a Custom MCP node can thereby inject NODE_OPTIONS --require and execute arbitrary code in the Flowise server context.
Problem types
Improper Handling of Case Sensitivity
Product status
Any version before 3.1.3
3.1.3 (semver)
Credits
ashdfrkl
References
github.com/...rium/tree/main/flowise-mcp-env-case-bypass-poc (Proof of Concept)
github.com/FlowiseAI/Flowise/pull/6471 (Fix (PR #6471, 3.1.3))
www.vulncheck.com/...le-denylist-bypass-via-case-sensitivity (VulnCheck Advisory: Flowise - Custom MCP Environment Variable Denylist Bypass via Case Sensitivity)