Vulnerability  ·  2026-06-29

Flowise Custom MCP — Windows NODE_OPTIONS Denylist Bypass Enables Authenticated RCE via Case-Sensitivity Gap (CVE-2026-58057)

VulnerabilityHigh impactGlobalCVE-2026-58057
Flowise before 3.1.3 validates environment variables for Custom MCP stdio nodes against a denylist using a case-sensitive string comparison. On Windows, environment variable names are case-insensitive, so an authenticated user who can configure a Custom MCP node can supply 'node_options' (lowercase) to bypass the 'NODE_OPTIONS' denylist entry and inject '--require' to load arbitrary code within the Flowise server process. VulnCheck confirmed a proof-of-concept exists (bikini/exploitarium). Fixed in PR #6471, released in Flowise 3.1.3.
Flowise is a widely deployed open-source LLMOps/agent-flow platform. Any authenticated Flowise user with Custom MCP node access — a common role in self-hosted deployments — can escalate to server-level RCE on Windows instances. Since Flowise orchestrates LLM pipelines, a compromised server exposes all API keys, model configurations, connected data sources, and conversation histories for every flow on the instance.
Authenticated user with Custom MCP node configuration access sets environment variable 'node_options' (lowercase) with '--require <malicious_module>' value; Flowise's case-sensitive denylist misses it; arbitrary code runs in the Flowise server process on node spawn
Flowise ≥ 0, < 3.1.3 running on Windows
Upgrade to Flowise 3.1.3 or later. GitHub PR: https://github.com/FlowiseAI/Flowise/pull/6471
Sources
NVD — CVE-2026-58057VulnCheck Advisory — Flowise Custom MCP Environment Variable Denylist Bypass via Case SensitivityGitHub — Flowise PR #6471 (fix)
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →