Flowise: SSRF Protection Bypass via Direct node-fetch / axios Usage (Patch Enforcement Failure)
Summary
Flowise introduced SSRF protections through a centralized HTTP security wrapper (httpSecurity.ts) that implements deny-list validation and IP pinning logic.
However, multiple tool implementations directly import and invoke raw HTTP clients (node-fetch, axiosInstead of using the secured wrapper.
Because enforcement is neither mandatory nor centralized, these tools bypass SSRF mitigation entirely, restoring full SSRF capability even after the patch.
This issue is distinct from specification trust issues and represents incomplete mitigation of previously addressed SSRF vulnerabilities.
Details
Intended Security Model:
All outbound HTTP requests should pass through the centralized validation layer implemented in:
packages/components/src/httpSecurity.ts
This layer performs:
HTTP_DENY_LISTenforcement- IP resolution validation
- IP pinning
- Loopback blocking
Observed Implementation Gap:
Multiple tools bypass this layer and import HTTP libraries directly.
Examples include:
packages/components/nodes/tools/OpenAPIToolkit/OpenAPIToolkit.tspackages/components/nodes/tools/WebScraperTool/WebScraperTool.tspackages/components/nodes/tools/MCP/core.tspackages/components/nodes/tools/Arxiv/core.ts
These files directly execute:
importfetchfrom'node-fetch'
or invoke axios without passing through the centralized validation wrapper.
Because there is no global interceptor or enforcement mechanism, outbound requests in these components are executed without SSRF validation.
This renders the mitigation introduced in GHSA-2x8m-83vc-6wv4 incomplete.
Root Cause
Security enforcement is not centralized.
Outbound request validation depends on voluntary usage of a wrapper function rather than being structurally enforced.
Because direct imports of HTTP clients are allowed, the mitigation is easily bypassed.
This is an architectural enforcement failure rather than a single implementation bug.
PoC
Even when an administrator configures:
HTTP_DENY_LIST=169.254.0.0/16,127.0.0.0/8
The following attack succeeds if a vulnerable tool is enabled:
Chat Prompt:
Use the Web Scraper tool to retrieve:
http://169.254.169.254/latest/meta-data/iam/security-credentials/
Execution flow:
- The LLM triggers
WebScraperTool. - The tool calls raw
fetch()directly. - No
httpSecurity.tsvalidation is applied. - The request reaches the metadata endpoint.
- The response is returned to the chat context.
This demonstrates that SSRF protection is opt-in rather than enforced.
Impact
Severity: Critical (CVSS v3.1: 9.1 – AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
This issue:
- Completely bypasses the centralized SSRF mitigation.
- Allows access to internal network resources.
- Enables the exploitation of cloud metadata and credential theft.
- Invalidates the security assumptions of the recent patch.
Any deployment enabling affected tools remains vulnerable.
Recommended Remediation
- Refactor all tools to use the centralized
secureFetch()wrapper. - Add ESLint
no-restricted-importsrules to prohibit the direct usage ofnode-fetchoraxiosin tool components. - Consider implementing a single internal HTTP client abstraction layer.
- Apply network-level egress filtering as defense-in-depth.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | flowise | < 3.1.0 | 3.1.0 |
| Paquete de npm | flowise-components | < 3.1.0 | 3.1.0 |
Referencias
- Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- Debilidad (CWE)
CWE-918- Plataforma
- npm
- Paquete
flowise, flowise-components- Publicada
- 16.04.2026
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-qqvm-66q4-vf5c - CC BY 4.0
Historial de vulnerabilidades: flowise-components
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 31
- Primera → última
- 04.2025 10.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 16
- Alta 12
- Media 3
Divulgaciones por año
- 2025: 3
- 2026: 28
-
Flowise: SSRF Protection Bypass via Direct node-fetch / axios Usage (Patch Enforcement Failure) esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.