| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-58057 |
| Date (index) | 2026-06-28 |
| Affected product (index) | Flowise Custom MCP Windows env-var denylist bypass |
| GHSA ID | None — no GitHub advisory published (search) |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-06-28 |
| Ecosystem | Application (vendor product) |
| Component | Flowise Custom MCP Windows env-var denylist bypass |
| EPSS score | 0.002400000 (FIRST EPSS, 2026-06-30) |
| CVSS score | LOW — 2.3 CVSS v4.0 |
| CWE | CWE-178 |
| Affected versions | Flowise 0 to < 3.1.3 |
| Fixed versions | 3.1.3 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-07-01 recheck. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP05 — Command Injection & Execution. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-58057 and apply the upstream patched release or commit recommended by the vendor/CNA.