GHSA-qqvm-66q4-vf5c

Suggest an improvement
Source
https://github.com/advisories/GHSA-qqvm-66q4-vf5c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-qqvm-66q4-vf5c/GHSA-qqvm-66q4-vf5c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qqvm-66q4-vf5c
Aliases
  • CVE-2026-43995
Published
2026-04-16T21:23:03Z
Modified
2026-05-13T14:17:49.296266Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Flowise: SSRF Protection Bypass via Direct node-fetch / axios Usage (Patch Enforcement Failure)
Details

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_LIST enforcement
  • 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.ts
  • packages/components/nodes/tools/WebScraperTool/WebScraperTool.ts
  • packages/components/nodes/tools/MCP/core.ts
  • packages/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:

  1. The LLM triggers WebScraperTool.
  2. The tool calls raw fetch() directly.
  3. No httpSecurity.ts validation is applied.
  4. The request reaches the metadata endpoint.
  5. 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

  1. Refactor all tools to use the centralized secureFetch() wrapper.
  2. Add ESLint no-restricted-imports rules to prohibit the direct usage of node-fetch or axios in tool components.
  3. Consider implementing a single internal HTTP client abstraction layer.
  4. Apply network-level egress filtering as defense-in-depth.
Database specific
{
    "github_reviewed_at": "2026-04-16T21:23:03Z",
    "nvd_published_at": "2026-05-11T18:16:37Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / flowise

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0

Database specific

last_known_affected_version_range
"<= 3.0.13"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-qqvm-66q4-vf5c/GHSA-qqvm-66q4-vf5c.json"

npm / flowise-components

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0

Database specific

last_known_affected_version_range
"<= 3.0.13"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-qqvm-66q4-vf5c/GHSA-qqvm-66q4-vf5c.json"