Every CVESearch/Get API key

GHSA-j8f7-x8jm-wmm4

Langflow: SSRF in URL-taking components (protection disabled by default / warn-only, not applied to RSS, SearXNG, Web Search, Home Assistant, Glean, Docling)

6.3 MediumFix available

GHSA-j8f7-x8jm-wmm4 is a medium vulnerability (CVSS 6.3) in langflow, published October 6, 2026. No source lists public exploit code. Fixed in langflow 1.10.3.

What does this mean?
Severity
6.3 MediumCVSS 4.0, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
1.10.3langflow +7 more

Description

Summary

Before Langflow 1.10.3, several built-in components sent server-side HTTP requests to URLs the flow author controls, with no SSRF enforcement. An authenticated user who can build or run flows could make the Langflow server reach loopback, RFC 1918 / private networks, link-local addresses and cloud metadata endpoints (for example http://169.254.169.254/latest/meta-data/), and in many cases read the response back through the component output.

Two things combined to cause this:

  1. Protection disabled / warn-only. The SSRF guard (lfx/utils/ssrf_protection.py, added in 1.7.0 by #10544) shipped with ssrf_protection_enabled = False, and its only caller, the API Request component, called validate_url_for_ssrf(url, warn_only=True). So even with protection turned on, blocked URLs were only logged.
  2. Inconsistent coverage. Other components that take a user-supplied URL or base URL did not call the guard at all: RSS Reader, SearXNG, Web Search (fetching result / RSS URLs), Home Assistant, Glean Search and Docling Serve (remote).

The problem was fixed across several PRs and is fully fixed in Langflow 1.10.3 (and 1.11.0+). With the default settings, outbound requests from these components are now validated after DNS resolution, pinned to the validated IP (to prevent DNS rebinding) and blocked when they target private, loopback, link-local or metadata addresses, unless the operator allowlists the host.

Affected versions

| Package (PyPI) | Vulnerable | Patched | |---|---|---| | langflow | < 1.10.3 | 1.10.3 | | langflow-base | < 0.10.3 | 0.10.3 | | lfx | < 1.10.3 | 1.10.3 | | lfx-docling (Docling Serve component) | < 0.1.2 | 0.1.2 |

How the fix rolled out:

| Release | Change | |---|---| | < 1.7.0 | No SSRF guard. All URL-taking components make unrestricted requests. | | 1.7.0 – 1.9.2 | Guard exists, but ssrf_protection_enabled=False by default and API Request uses warn_only=True. | | 1.9.3 | #13016: protection on by default, API Request blocks (DNS pinning / anti-rebinding). Other components still unprotected. | | 1.10.1 | #13395 (RSS Reader, SearXNG) and #13643 (Home Assistant, Glean, plus model-provider URL components) route requests through SSRF-safe helpers. | | 1.10.3 | #14033 (Docling Serve) and #14071 (Web Search result/RSS fetching). All components cited in this report are protected. |

Details

Vulnerable pattern (for example rss.py before #13395):

response = requests.get(self.rss_url, timeout=self.timeout)

API Request before #13016:

# TODO: In next major version (2.0), remove warn_only=True to enforce blocking
validate_url_for_ssrf(url, warn_only=True)

with ssrf_protection_enabled: bool = False in the settings.

Clarifications on the original report. Some sinks in the report are not exploitable SSRF:

  • web_search.py: the DuckDuckGo search request and the Google News RSS request, and news_search.py:131. The host is hard-coded (html.duckduckgo.com / news.google.com) and user input only goes into quote_plus-encoded path and query segments, so the destination cannot be redirected. The real Web Search sink was fetching the result URLs, which is fixed in #14071.
  • langflow/load/utils.py get_flow(): this is a client-side SDK helper (from langflow.load import get_flow) that the caller runs against their own Langflow URL. No API route calls it, so it is not a backend SSRF endpoint.

PoC (vulnerable versions)

  1. Log in as any user who can create flows.
  2. Add an RSS Reader (or SearXNG / Home Assistant / Glean / Docling Serve) component and set its URL to http://169.254.169.254/latest/meta-data/ (or an internal host such as http://10.0.0.1/).
  3. Run the component. The Langflow server issues the request, and the response or error is shown in the component output.

On patched versions the same run fails with SSRFProtectionError: Access to IP address 169.254.169.254 is blocked by SSRF protection.

Impact

  • Access to cloud instance metadata (IAM credentials / tokens) on AWS, GCP and Azure deployments.
  • Probing and interaction with internal services and private networks reachable from the Langflow host.
  • Requires an authenticated account with permission to build or run flows. Deployments where every user is already fully trusted are less affected.

Fix

  • #13016: sets ssrf_protection_enabled = True by default, changes warn_only to default False, drops warn_only=True from API Request, and adds validate_and_resolve_url() plus SSRFProtectedTransport (DNS pinning).

    -    ssrf_protection_enabled: bool = False
    +    ssrf_protection_enabled: bool = True
    
  • #13395: adds lfx.utils.ssrf_requests.ssrf_safe_get (per-hop validation and pinning for requests) and uses it in RSS Reader and SearXNG.

    -            response = requests.get(self.rss_url, timeout=self.timeout)
    +            response = ssrf_safe_get(self.rss_url, timeout=self.timeout)
    
  • #13643: adds lfx.utils.ssrf_httpx (ssrf_safe_httpx_get/post, protected client kwargs) and applies it to Home Assistant, Glean and the model-provider base-URL components.

  • #14033: Docling Serve builds its httpx.Client with ssrf_protected_httpx_client_kwargs_for_url(base_url).

  • #14071 (release-1.10.3) / #14073 (forward-port to 1.11.0): Web Search validates and pins each result URL before fetching it, with redirects disabled.

Note: connector-style components (for example Home Assistant, Ollama, LM Studio) keep a documented loopback exemption (#14146), so a self-hosted user can reach a local service on localhost. Private-network and metadata addresses stay blocked. Operators can tighten or relax this with LANGFLOW_SSRF_ALLOWED_HOSTS and LANGFLOW_CONNECTOR_SSRF_VALIDATION_ENABLED.

Remediation

  • Upgrade to langflow >= 1.10.3 (or langflow-base >= 0.10.3 / lfx >= 1.10.3 / lfx-docling >= 0.1.2).
  • Do not set LANGFLOW_SSRF_PROTECTION_ENABLED=false. If you need to reach internal hosts on purpose, allowlist only those hosts with LANGFLOW_SSRF_ALLOWED_HOSTS.
  • On versions that cannot be upgraded right away, restrict outbound network access from the Langflow host (for example, block 169.254.169.254 and use IMDSv2 on AWS).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
None

Affected packages

Affected packages
PackageAffectedFixed
langflow
PyPI
before 1.10.3
1.10.3
langflow-base
PyPI
before 0.10.3
0.10.3
lfx
PyPI
before 1.10.3
1.10.3
lfx-docling
PyPI
before 0.1.2
0.1.2
langflow
PyPI
before 1.10.3, plus listed versions
0.0.310.0.320.0.330.0.400.0.44
Show 45 moreShow less
0.0.450.0.460.0.520.0.530.0.540.0.550.0.560.0.570.0.580.0.610.0.620.0.630.0.640.0.650.0.660.0.670.0.680.0.690.0.700.0.710.0.720.0.730.0.740.0.750.0.760.0.780.0.790.0.800.0.810.0.830.0.840.0.850.0.860.0.870.0.880.0.890.1.00.1.20.1.30.1.40.1.50.1.60.1.70.2.00.2.1
1.10.3
langflow-base
PyPI
before 0.10.3, plus listed versions
0.0.130.0.140.0.150.0.160.0.17
Show 45 moreShow less
0.0.180.0.190.0.200.0.210.0.220.0.230.0.240.0.250.0.260.0.270.0.280.0.290.0.300.0.310.0.320.0.330.0.340.0.350.0.360.0.370.0.380.0.390.0.400.0.410.0.420.0.430.0.440.0.450.0.460.0.470.0.480.0.490.0.500.0.510.0.520.0.530.0.540.0.550.0.560.0.570.0.580.0.590.0.600.0.610.0.62
0.10.3
lfx
PyPI
before 1.10.3, plus listed versions
0.1.00.1.10.1.100.1.110.1.13
Show 41 moreShow less
0.1.20.1.30.1.40.1.50.1.60.1.70.1.80.1.90.2.00.2.10.2.20.3.00.3.0rc00.3.0rc10.3.0rc20.3.0rc30.3.0rc40.3.0rc50.3.0rc60.3.10.3.20.3.30.3.3rc00.3.40.4.00.4.10.4.20.4.30.4.3rc00.4.40.4.50.4.60.4.6rc01.10.01.10.0rc01.10.11.10.1rc01.10.1rc31.10.21.10.2rc41.10.3rc0
1.10.3
lfx-docling
PyPI
before 0.1.2, plus listed versions
0.1.00.1.10.1.1rc00.1.1rc30.1.1rc40.1.2rc00.1.2rc1
0.1.2

What each source reports

GitHub Advisories Score used6.3

Langflow: SSRF in URL-taking components (protection disabled by default / warn-only, not applied to RSS, SearXNG, Web Search, Home Assistant, Glean, Docling)

Summary

Before Langflow 1.10.3, several built-in components sent server-side HTTP requests to URLs the flow author controls, with no SSRF enforcement. An authenticated user who can build or run flows could make the Langflow server reach loopback, RFC 1918 / private networks, link-local addresses and cloud metadata endpoints (for example http://169.254.169.254/latest/meta-data/), and in many cases read the response back through the component output.

Two things combined to cause this:

  1. Protection disabled / warn-only. The SSRF guard (lfx/utils/ssrf_protection.py, added in 1.7.0 by #10544) shipped with ssrf_protection_enabled = False, and its only caller, the API Request component, called validate_url_for_ssrf(url, warn_only=True). So even with protection turned on, blocked URLs were only logged.
  2. Inconsistent coverage. Other components that take a user-supplied URL or base URL did not call the guard at all: RSS Reader, SearXNG, Web Search (fetching result / RSS URLs), Home Assistant, Glean Search and Docling Serve (remote).

The problem was fixed across several PRs and is fully fixed in Langflow 1.10.3 (and 1.11.0+). With the default settings, outbound requests from these components are now validated after DNS resolution, pinned to the validated IP (to prevent DNS rebinding) and blocked when they target private, loopback, link-local or metadata addresses, unless the operator allowlists the host.

Affected versions

| Package (PyPI) | Vulnerable | Patched | |---|---|---| | langflow | < 1.10.3 | 1.10.3 | | langflow-base | < 0.10.3 | 0.10.3 | | lfx | < 1.10.3 | 1.10.3 | | lfx-docling (Docling Serve component) | < 0.1.2 | 0.1.2 |

How the fix rolled out:

| Release | Change | |---|---| | < 1.7.0 | No SSRF guard. All URL-taking components make unrestricted requests. | | 1.7.0 – 1.9.2 | Guard exists, but ssrf_protection_enabled=False by default and API Request uses warn_only=True. | | 1.9.3 | #13016: protection on by default, API Request blocks (DNS pinning / anti-rebinding). Other components still unprotected. | | 1.10.1 | #13395 (RSS Reader, SearXNG) and #13643 (Home Assistant, Glean, plus model-provider URL components) route requests through SSRF-safe helpers. | | 1.10.3 | #14033 (Docling Serve) and #14071 (Web Search result/RSS fetching). All components cited in this report are protected. |

Details

Vulnerable pattern (for example rss.py before #13395):

response = requests.get(self.rss_url, timeout=self.timeout)

API Request before #13016:

# TODO: In next major version (2.0), remove warn_only=True to enforce blocking
validate_url_for_ssrf(url, warn_only=True)

with ssrf_protection_enabled: bool = False in the settings.

Clarifications on the original report. Some sinks in the report are not exploitable SSRF:

  • web_search.py: the DuckDuckGo search request and the Google News RSS request, and news_search.py:131. The host is hard-coded (html.duckduckgo.com / news.google.com) and user input only goes into quote_plus-encoded path and query segments, so the destination cannot be redirected. The real Web Search sink was fetching the result URLs, which is fixed in #14071.
  • langflow/load/utils.py get_flow(): this is a client-side SDK helper (from langflow.load import get_flow) that the caller runs against their own Langflow URL. No API route calls it, so it is not a backend SSRF endpoint.

PoC (vulnerable versions)

  1. Log in as any user who can create flows.
  2. Add an RSS Reader (or SearXNG / Home Assistant / Glean / Docling Serve) component and set its URL to http://169.254.169.254/latest/meta-data/ (or an internal host such as http://10.0.0.1/).
  3. Run the component. The Langflow server issues the request, and the response or error is shown in the component output.

On patched versions the same run fails with `SSRFProtectionError: Access to IP address…

Record
GHSA-j8f7-x8jm-wmm4
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
Weakness
CWE-918
Updated
2026-11-02
OSV6.3

Langflow: SSRF in URL-taking components (protection disabled by default / warn-only, not applied to RSS, SearXNG, Web Search, Home Assistant, Glean, Docling)

Summary

Before Langflow 1.10.3, several built-in components sent server-side HTTP requests to URLs the flow author controls, with no SSRF enforcement. An authenticated user who can build or run flows could make the Langflow server reach loopback, RFC 1918 / private networks, link-local addresses and cloud metadata endpoints (for example http://169.254.169.254/latest/meta-data/), and in many cases read the response back through the component output.

Two things combined to cause this:

  1. Protection disabled / warn-only. The SSRF guard (lfx/utils/ssrf_protection.py, added in 1.7.0 by #10544) shipped with ssrf_protection_enabled = False, and its only caller, the API Request component, called validate_url_for_ssrf(url, warn_only=True). So even with protection turned on, blocked URLs were only logged.
  2. Inconsistent coverage. Other components that take a user-supplied URL or base URL did not call the guard at all: RSS Reader, SearXNG, Web Search (fetching result / RSS URLs), Home Assistant, Glean Search and Docling Serve (remote).

The problem was fixed across several PRs and is fully fixed in Langflow 1.10.3 (and 1.11.0+). With the default settings, outbound requests from these components are now validated after DNS resolution, pinned to the validated IP (to prevent DNS rebinding) and blocked when they target private, loopback, link-local or metadata addresses, unless the operator allowlists the host.

Affected versions

| Package (PyPI) | Vulnerable | Patched | |---|---|---| | langflow | < 1.10.3 | 1.10.3 | | langflow-base | < 0.10.3 | 0.10.3 | | lfx | < 1.10.3 | 1.10.3 | | lfx-docling (Docling Serve component) | < 0.1.2 | 0.1.2 |

How the fix rolled out:

| Release | Change | |---|---| | < 1.7.0 | No SSRF guard. All URL-taking components make unrestricted requests. | | 1.7.0 – 1.9.2 | Guard exists, but ssrf_protection_enabled=False by default and API Request uses warn_only=True. | | 1.9.3 | #13016: protection on by default, API Request blocks (DNS pinning / anti-rebinding). Other components still unprotected. | | 1.10.1 | #13395 (RSS Reader, SearXNG) and #13643 (Home Assistant, Glean, plus model-provider URL components) route requests through SSRF-safe helpers. | | 1.10.3 | #14033 (Docling Serve) and #14071 (Web Search result/RSS fetching). All components cited in this report are protected. |

Details

Vulnerable pattern (for example rss.py before #13395):

response = requests.get(self.rss_url, timeout=self.timeout)

API Request before #13016:

# TODO: In next major version (2.0), remove warn_only=True to enforce blocking
validate_url_for_ssrf(url, warn_only=True)

with ssrf_protection_enabled: bool = False in the settings.

Clarifications on the original report. Some sinks in the report are not exploitable SSRF:

  • web_search.py: the DuckDuckGo search request and the Google News RSS request, and news_search.py:131. The host is hard-coded (html.duckduckgo.com / news.google.com) and user input only goes into quote_plus-encoded path and query segments, so the destination cannot be redirected. The real Web Search sink was fetching the result URLs, which is fixed in #14071.
  • langflow/load/utils.py get_flow(): this is a client-side SDK helper (from langflow.load import get_flow) that the caller runs against their own Langflow URL. No API route calls it, so it is not a backend SSRF endpoint.

PoC (vulnerable versions)

  1. Log in as any user who can create flows.
  2. Add an RSS Reader (or SearXNG / Home Assistant / Glean / Docling Serve) component and set its URL to http://169.254.169.254/latest/meta-data/ (or an internal host such as http://10.0.0.1/).
  3. Run the component. The Langflow server issues the request, and the response or error is shown in the component output.

On patched versions the same run fails with `SSRFProtectionError: Access to IP address…

Record
GHSA-j8f7-x8jm-wmm4
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
Weakness
CWE-918
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 4 moreShow less
This page doesn't list everything

Left out here: 360 versions and the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open