Skip to main content

Langflow CVE-2025-34291

| EUVDEUVD-2025-201507 CRITICAL
Origin Validation Error (CWE-346)
2025-12-05 disclosure@vulncheck.com GHSA-577h-p2hh-v4mv
9.4
CVSS 4.0 · Vendor: vulncheck
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Act Now Prioritize within 24-48h. Why: In CISA KEV with patch available.
Exploited in the wild (CISA KEV) Patch available 17.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Jul 26, 2026

Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfiguration (allow_origins='*' with credentials) and a SameSite=None refresh token cookie. An attacker controlling a malicious webpage can steal authentication tokens and gain full access, including built-in code execution, leading to complete system compromise. This vulnerability is confirmed actively exploited (CISA KEV), with publicly available exploit code and a high EPSS score (17.62%), indicating widespread attack likelihood.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:08 CVSS 8.8

Affected VersionsENISA

langflow 0 ≤1.6.9
langflow 0 ≤1.6.9

Affected Packages

pypi langflow fix: 1.7.0

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.

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

Vendor (vulncheck) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

6
Severity Changed
May 21, 2026 - 20:22 NVD
HIGH CRITICAL
CVSS changed
May 21, 2026 - 20:22 NVD
8.8 (HIGH) 9.4 (CRITICAL)
Added to CISA KEV
May 21, 2026 - 19:31 CISA
PoC Detected
Jan 16, 2026 - 21:17 vuln.today
Public exploit code
CVE Published
Dec 05, 2025 - 23:15 nvd
HIGH 8.8
CVE Published
Dec 05, 2025 - 23:15 cve.org
CRITICAL 9.4

DescriptionCVE.org

Langflow versions up to and including 1.6.9 contain a chained vulnerability that enables account takeover and remote code execution. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with a refresh token cookie configured as SameSite=None allows a malicious webpage to perform cross-origin requests that include credentials and successfully call the refresh endpoint. An attacker-controlled origin can therefore obtain fresh access_token / refresh_token pairs for a victim session. Obtained tokens permit access to authenticated endpoints - including built-in code-execution functionality - allowing the attacker to execute arbitrary code and achieve full system compromise.

Executive ViewAI

Why It Matters

Langflow versions 1.6.9 and earlier are vulnerable to account takeover and remote code execution through a combination of insecure cross-origin and authentication cookie configurations. Attackers can hijack user sessions and execute arbitrary code on affected systems without requiring a patch, creating immediate risk of data breach and infrastructure compromise for any organization running vulnerable Langflow instances.

Recommended Action

Within 24 hours: Identify and inventory all Langflow deployments running version 1.6.9 or earlier; disable public internet access to Langflow instances if possible, or restrict to VPN/private networks only. Within 7 days: Implement WAF rules to block suspicious cross-origin requests to the refresh token endpoint; review and rotate all Langflow API tokens and user credentials; monitor authentication logs for suspicious token refresh activity. Within 30 days: Upgrade to Langflow 1.7.0 or later when patch is released; conduct security audit of Langflow configurations; implement network segmentation to limit lateral movement if compromise is detected.

Business Impact: Severe
Compensating Controls

Restrict network access to Langflow instances to trusted internal networks only; disable or restrict CORS to specific trusted origins only (remove allow_origins='*'); reconfigure refresh token cookies to SameSite=Strict; implement API rate limiting on authentication endpoints; deploy WAF rules to detect and block cross-origin token refresh requests; enable verbose logging and monitoring of token refresh activities; consider temporarily disabling Langflow if it cannot be isolated and patched is unavailable; rotate all authentication credentials and invalidate existing tokens.

Threat Intelligence Overview

Threat Score
5.4/10
Composite threat intelligence
EPSS Score
17.6%
Top 5% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 CRITICAL
CISA KEV Yes
Public POC Yes
EPSS 17.6%
Patch available Yes
Active threat Yes
Deciding rule
In CISA KEV with patch available
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
Immediate
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

135
Low Medium High Critical
KEV: +50
EPSS: +18
CVSS: +47
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-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-10134 CRITICAL POC
10.0 Jun 30

Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary

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