CVE-2026-127214: Flowise Custom Function sandbox SSRF protection bypassed by importing axios or node-fetch subpaths (through 3.1.4)
In Flowise through 3.1.4, a user who can create or update chatflows or agentflows can get past the Custom Function sandbox's SSRF deny list by requiring a module subpath such as axios/dist/node/axios.cjs or node-fetch/lib/index.js. That returns an unwrapped HTTP client, so POST /api/v1/node-custom-function can reach loopback, internal hosts and the cloud metadata endpoint. No fixed Flowise release was listed when this was published.
What it is
The Custom Function node runs code in a vm2 sandbox that swaps allowlisted HTTP packages for mocked clients that call checkDenyList before any request.
Requiring a file path inside an allowlisted package (for example axios/dist/node/axios.cjs) misses the mock table, so the code gets the real client and the deny-list check is skipped.
An attacker with chatflow/agentflow create or update rights can send arbitrary GET and POST requests with their own bodies to internal services, for network mapping, credential theft from metadata endpoints, or changing state on internal APIs.
Reported by soovwv; CVE assigned by VulnCheck on 13 Nov 2026. The newest Flowise release at the time, 3.1.4, is in the affected range.
How to check
- Check your Flowise version (Settings or package.json); 3.1.4 and earlier are affected.
- List which users or API keys can create or update chatflows and agentflows, and whether the Flowise host can reach cloud metadata (169.254.169.254) or internal services.
How to fix
- Upgrade as soon as Flowise ships a release that fixes CVE-2026-127214; watch the Flowise releases page.
- Until then, limit chatflow/agentflow edit rights to trusted people, block the Flowise host from 169.254.169.254 and internal networks with egress firewall rules, and require IMDSv2 on AWS.
npm ls flowise 2>/dev/null || docker exec <flowise-container> npm ls -g flowise
# block metadata egress from the Flowise host (example, Linux)
sudo iptables -A OUTPUT -d 169.254.169.254 -j REJECT Sources
- criticalCVE-2026-73487: Flowise CSV and Airtable agents can be prompt-injected into leaking data and SSRF
- criticalCVE-2026-73483: Flowise custom functions could escape the sandbox through puppeteer.launch()
- highFlowise: unauthenticated MCP server bearer-token leak via /api/v1/public-chatflows (CVE-2026-130796) and DNS-rebinding SSRF in Playwright/Puppeteer loaders (CVE-2026-130615); no fix coming
- highCVE-2026-119978: Flowise through 3.1.4 lets logged-in users escape the custom-function sandbox and run OS commands when ALLOW_BUILTIN_DEP=true