Skip to content
HighVulnerability

GHSA-xc48-889x-5qmw: Flowise: CVE-2025-8943 Patch Bypass: npm_config_yes bypasses MCP environment variable blocklist (Unauthenticated RCE)

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.1.2
  • flowise <= 3.1.2
Fixed in
3.1.3
  • flowise-components 3.1.3 released June 25, 2026, 40 days before disclosure
  • flowise 3.1.3 released June 25, 2026, 40 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

The mitigation for CVE-2025-8943 in Flowise 3.1.1 blocks the `-y` and `--yes` flags on `npx`, but its environment-variable check denies only four names by exact match: PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH and NODE_OPTIONS. Because npm reads `npm_config_*` environment variables, setting `npm_config_yes=true` in an MCP server configuration makes `npx` auto-install and execute the named package, bypassing the patch. With `CUSTOM_MCP_SECURITY_CHECK=true`, the source says a default deployment without authentication allows unauthenticated remote code execution.

Mitigation

The source recommends allowlisting or stripping the environment before it reaches the child process rather than extending the denylist. No fixed version is stated.