CVE-2026-41270: Flowise: SSRF bypass exposes cloud metadata services
HIGH PoC AVAILABLE CISA: ATTENDFlowise's Custom Function feature allows authenticated users to bypass the application's SSRF protections by leveraging Node.js native http/https modules — permitted in the NodeVM sandbox — instead of the blocked axios/node-fetch libraries, granting unrestricted access to internal network resources including cloud provider metadata services. This is particularly dangerous in cloud-hosted Flowise deployments where the IMDS endpoint (169.254.169.254) exposes IAM credentials, enabling full cloud account takeover from a single compromised or malicious user account. With a public PoC available, EPSS in the top 86th percentile of all CVEs, and a CISA SSVC rating of ATTEND, exploitation is plausible even without active KEV listing — and Flowise's track record of 59 prior CVEs signals systemic security debt. Upgrade to Flowise 3.1.0 immediately; as an interim measure, restrict Custom Function access to trusted administrators and enforce network-level egress blocks on IMDS IP ranges.
What is the risk?
HIGH risk. The low privilege requirement (any authenticated user) combined with a publicly available PoC and EPSS top-86th-percentile ranking makes this accessible to a broad threat population including malicious insiders and credential-stuffing attackers. The impact ceiling far exceeds the CVSS 8.3 score — cloud metadata exposure yields IAM credentials enabling full cloud infrastructure compromise. Organizations running Flowise in AWS, GCP, or Azure environments with IMDSv1 enabled (the default) face immediate credential theft risk with minimal attacker sophistication required.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Flowise | npm | — | No patch |
Do you use Flowise? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
PATCH
Upgrade Flowise to v3.1.0 immediately — this release extends SSRF controls to native Node.js modules within the NodeVM sandbox.
-
RESTRICT
If immediate patching is not possible, limit Custom Function access to administrator accounts only via Flowise RBAC settings.
-
NETWORK CONTROLS
Block outbound connections from the Flowise host to 169.254.169.254/32 (AWS/Azure IMDS), 169.254.170.2/32 (ECS Task Metadata), and fd00:ec2::254/128 (IPv6 IMDS) using host firewall rules or cloud security group egress policies.
-
IMDSV2: Enable IMDSv2 (PUT-token-required mode) on AWS EC2 instances running Flowise — the hop-limit-1 requirement blocks most SSRF-based metadata attacks without patching.
-
DETECT
Alert on outbound HTTP connections from the Flowise process to RFC 1918 and link-local ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) that fall outside expected application traffic patterns.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-41270?
Flowise's Custom Function feature allows authenticated users to bypass the application's SSRF protections by leveraging Node.js native http/https modules — permitted in the NodeVM sandbox — instead of the blocked axios/node-fetch libraries, granting unrestricted access to internal network resources including cloud provider metadata services. This is particularly dangerous in cloud-hosted Flowise deployments where the IMDS endpoint (169.254.169.254) exposes IAM credentials, enabling full cloud account takeover from a single compromised or malicious user account. With a public PoC available, EPSS in the top 86th percentile of all CVEs, and a CISA SSVC rating of ATTEND, exploitation is plausible even without active KEV listing — and Flowise's track record of 59 prior CVEs signals systemic security debt. Upgrade to Flowise 3.1.0 immediately; as an interim measure, restrict Custom Function access to trusted administrators and enforce network-level egress blocks on IMDS IP ranges.
Is CVE-2026-41270 actively exploited?
Proof-of-concept exploit code is publicly available for CVE-2026-41270, increasing the risk of exploitation.
How to fix CVE-2026-41270?
1. PATCH: Upgrade Flowise to v3.1.0 immediately — this release extends SSRF controls to native Node.js modules within the NodeVM sandbox. 2. RESTRICT: If immediate patching is not possible, limit Custom Function access to administrator accounts only via Flowise RBAC settings. 3. NETWORK CONTROLS: Block outbound connections from the Flowise host to 169.254.169.254/32 (AWS/Azure IMDS), 169.254.170.2/32 (ECS Task Metadata), and fd00:ec2::254/128 (IPv6 IMDS) using host firewall rules or cloud security group egress policies. 4. IMDSV2: Enable IMDSv2 (PUT-token-required mode) on AWS EC2 instances running Flowise — the hop-limit-1 requirement blocks most SSRF-based metadata attacks without patching. 5. DETECT: Alert on outbound HTTP connections from the Flowise process to RFC 1918 and link-local ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) that fall outside expected application traffic patterns.
What systems are affected by CVE-2026-41270?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, LLM flow builders, cloud-hosted AI platforms, multi-tenant AI builder platforms.
What is the CVSS score for CVE-2026-41270?
CVE-2026-41270 has a CVSS v3.1 base score of 8.3 (HIGH). The EPSS exploitation probability is 0.23%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012 Valid Accounts AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0055 Unsecured Credentials AML.T0075 Cloud Service Discovery Compliance Controls Affected
What are the technical details?
Original Advisory
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, a Server-Side Request Forgery (SSRF) protection bypass vulnerability exists in the Custom Function feature. While the application implements SSRF protection via HTTP_DENY_LIST for axios and node-fetch libraries, the built-in Node.js http, https, and net modules are allowed in the NodeVM sandbox without equivalent protection. This allows authenticated users to bypass SSRF controls and access internal network resources (e.g., cloud provider metadata services) This vulnerability is fixed in 3.1.0.
Exploitation Scenario
An attacker with a standard Flowise user account — obtained via credential stuffing, phishing, or as a malicious insider — opens the Custom Function editor within an LLM flow. They write a function using Node.js built-in `require('http').get('http://169.254.169.254/latest/meta-data/iam/security-credentials/', ...)` to query the AWS instance metadata service. Because HTTP_DENY_LIST only intercepts axios and node-fetch calls, the native http request bypasses all SSRF protections and returns the list of attached IAM roles. The attacker queries the role-specific endpoint to extract AccessKeyId, SecretAccessKey, and Token. Using these credentials from their own machine via the AWS CLI, they enumerate S3 buckets, RDS instances, and Secrets Manager entries, subsequently exfiltrating training data, customer PII, or proprietary model artifacts from the victim's AI infrastructure — all traceable only to the Flowise host's identity, not the attacker's.
Weaknesses (CWE)
CWE-284 — Improper Access Control: The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- [Architecture and Design, Operation] Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Timeline
Related Vulnerabilities
CVE-2025-59528 10.0 Flowise: Unauthenticated RCE via MCP config injection
Same package: flowise CVE-2026-46442 9.9 Flowise: sandbox escape enables authenticated RCE
Same package: flowise CVE-2025-61913 9.9 Flowise: path traversal in file tools leads to RCE
Same package: flowise CVE-2026-40933 9.9 Flowise: RCE via MCP stdio command injection
Same package: flowise CVE-2026-56274 9.9 Flowise: RCE via MCP server command validation bypass
Same package: flowise