Langflow
CVE-2025-68477
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Langflow API key
-
DeliverySet API Request URL to internal/metadata target
-
ExploitInvoke /api/v1/run flow execution
-
ExecutionServer-side httpx fetches internal resource
-
ImpactHarvest returned response body (credentials/metadata)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a valid Langflow API key able to call the flow execution endpoints /api/v1/run or /api/v1/run/advanced, and (2) attacker control over the API Request component's user-supplied URL within a flow (via node input, tweaks, or stored UI value). The specific vulnerable feature is the API Request component's server-side httpx client, which performs only URL normalization and basic format checks and does NOT block loopback (127.0.0.1), RFC1918 private ranges (10/172/192), or the cloud metadata endpoint 169.254.169.254, and returns the raw response body (enabling non-blind SSRF). Limiting factors: this is authenticated (API key needed) and depends on the attacker being able to set/alter the flow's URL, so it is not anonymous internet-wide exploitation; impact is confined to confidentiality (reading internal responses) and is bounded by what internal services are reachable from the Langflow server's network context. Affects deployments prior to the patched release (stated as 1.7.0 in the description / 1.7.1 in package data - confirm). |
| Impact | This is a moderate-priority SSRF (CWE-918) rather than a critical drop-everything issue, but the signals skew it toward the higher end of medium. The vendor-assigned CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N = 6.5) is internally consistent with the description: network-reachable, low complexity, requires some privilege (an API key to invoke /api/v1/run), no user interaction, and a confidentiality-only impact (I:N/A:N) because the flaw returns response bodies but does not itself modify or deny service. EPSS is notably elevated - 6.30% is in the 93rd percentile - indicating relatively high modeled exploitation likelihood for a non-KEV flaw, and this aligns with the fact that public exploit code / a detailed GitHub Security Advisory with vulnerable-code pointers exists. Exploitation status: publicly available exploit code exists; it is NOT on CISA KEV, so there is no confirmed active exploitation. The main factor that tempers risk is PR:L - an attacker needs a valid API key AND the ability to control the API Request component's URL in a flow, so this is an authenticated/insider or post-credential-compromise scenario, not a fully anonymous internet attack. Note one data conflict to verify: the CVE description states the fix is in version 1.7.0, while the package intelligence states 'vulnerable < 1.7.1, fixed in 1.7.1' - confirm the exact fixed version with the vendor advisory before remediation. |
| Exploit ScenarioDerived | An attacker holding a valid Langflow API key creates or modifies a flow so the API Request component points at an internal target (e.g. the cloud metadata endpoint 169.254.169.254 or an internal admin service), then invokes /api/v1/run or /api/v1/run/advanced. Because the server-side httpx client does not block private ranges or metadata endpoints and returns the response body, the attacker receives internal data directly (non-blind SSRF). Public exploit details exist in the GitHub Security Advisory, lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Authenticated server-side request forgery (SSRF) in Langflow, affecting versions prior to the patch release (1.7.0 per advisory / 1.7.1 per package data), allows an attacker with a valid API key and control over an API Request component's URL to read responses from internal services and cloud metadata endpoints via non-blind SSRF. Public exploit code exists and the EPSS score is 6.30% (93rd percentile), but the issue is not confirmed as actively exploited (not in CISA KEV). Exploitation requires an API key and the ability to set or alter the flow's URL, limiting impact to confidentiality of internal responses reachable from the Langflow server.
RemediationAI
Upgrade to the patched release: the advisory states version 1.7.0 contains the fix, while package data indicates 1.7.1 as the fixed version-verify the exact version via the vendor advisory (https://github.com/langflow-ai/langflow/security/advisories/GHSA-5993-7p27-66g5). If immediate upgrade is not possible, restrict access to the flow execution endpoints (/api/v1/run, /api/v1/run/advanced) to trusted users and rotate any exposed API keys, noting that this does not eliminate the vulnerability but reduces exposure. Additionally, implement network-level egress filtering on the Langflow server to block outbound requests to loopback, RFC1918 private ranges (10/172/192), and the cloud metadata endpoint 169.254.169.254; this may break legitimate flows that rely on internal HTTP calls. Disabling the API Request component entirely, if not needed, removes the attack vector but limits functionality.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Langflow's API Request component uses a server-side httpx client to issue HTTP requests to user-supplied URLs, performing only normalization and basic format checks without blocking loopback (127.0.0.1), RFC1918 private ranges (10/172/192), or the cloud metadata endpoint 169.254.169.254, and it returns the raw response body. The flow execution endpoints /api/v1/run and /api/v1/run/advanced are reachable with just an API key, so an attacker who can control the URL via node input, tweaks, or stored UI values can achieve non-blind SSRF, reading internal administrative endpoints, metadata services, and internal databases. This is a classic CWE-918 (Server-Side Request Forgery) caused by missing validation of the destination URL before making the server-side request. The CPE cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* indicates the affected product is Langflow without version restriction, but the vulnerability affects versions before the patched release (1.7.0/1.7.1).
Know when Langflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-reachable endpoint with low complexity; PR:L because a valid API key and control of the flow URL are required; confidentiality-only impact (internal data read) so I:N/A:N.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0, Langflow provides an API Request component that can issue arbitrary HTTP requests within a flow. This component takes a user-supplied URL, performs only normalization and basic format checks, and then sends the request using a server-side httpx client. It does not block private IP ranges (127[.]0[.]0[.]1, the 10/172/192 ranges) or cloud metadata endpoints (169[.]254[.]169[.]254), and it returns the response body as the result. Because the flow execution endpoints (/api/v1/run, /api/v1/run/advanced) can be invoked with just an API key, if an attacker can control the API Request URL in a flow, non-blind SSRF is possible-accessing internal resources from the server’s network context. This enables requests to, and collection of responses from, internal administrative endpoints, metadata services, and internal databases/services, leading to information disclosure and providing a foothold for further attacks. Version 1.7.0 contains a patch for this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling
Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes
Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati
Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the
Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted
Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary
Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo
OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the
langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.
Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us
An unauthenticated shell injection vulnerability exists in Langflow's GitHub Actions CI/CD workflows, allowing attackers
NVD
CVE.org
EPSS
GitHub
Exploit-DB