Skip to main content

Langflow CVE-2025-68477

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2025-12-19 security-advisories@github.com
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Langflow API key
  2. Delivery
    Set API Request URL to internal/metadata target
  3. Exploit
    Invoke /api/v1/run flow execution
  4. Execution
    Server-side httpx fetches internal resource
  5. Impact
    Harvest 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 6.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi langflow fix: 1.7.1

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
6.3%
Top 7% exploitable
Prevalence
Medium
popular open-source AI agent/workflow builder, common in dev/ML stacks but not ubiquitous
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 6.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: +6
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*
CVE-2025-3248 CRITICAL POC
9.8 Apr 07

Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling

CVE-2026-0770 CRITICAL POC
9.8 Jan 23

Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes

CVE-2025-34291 CRITICAL POC
9.4 Dec 05

Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati

CVE-2026-0768 CRITICAL POC
9.8 Jan 23

Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the

CVE-2026-0769 CRITICAL POC
9.8 Jan 23

Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted

CVE-2026-27966 CRITICAL POC
9.8 Feb 26

Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary

CVE-2024-37014 CRITICAL POC
9.8 Jun 10

Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo

CVE-2026-105697 CRITICAL POC
9.9 Oct 05

OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end

CVE-2024-48061 CRITICAL POC
9.8 Nov 04

langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the

CVE-2024-42835 CRITICAL POC
9.8 Oct 31

langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.

CVE-2026-21445 CRITICAL POC
9.1 Jan 02

Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us

CVE-2026-33475 CRITICAL POC
9.1 Mar 24

An unauthenticated shell injection vulnerability exists in Langflow's GitHub Actions CI/CD workflows, allowing attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy