CVE-2025-34291
CONFIRMED EXPLOITEDLangflow Origin Validation Error Vulnerability
Is Langflow Langflow affected by CVE-2025-34291?
Langflow Langflow is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2025-34291, added on 2026-05-21. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): langflow langflow.
Published CPE version bounds mark releases up to and including 1.6.9 as vulnerable. Confirm the patched release in the vendor advisory below before treating any upgrade as complete.
The CISA remediation deadline for this entry is 2026-06-04.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-0770Same productLangflow Langflow
Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability
- CVE-2026-55255Same productLangflow Langflow
Langflow Authorization Bypass Through User-Controlled Key Vulnerability
- CVE-2026-33017Same productLangflow Langflow
Langflow Code Injection Vulnerability
- CVE-2025-3248Same productLangflow Langflow
Langflow Missing Authentication Vulnerability
- CVE-2026-45498Neighboring entryMicrosoft Defender
Microsoft Defender Denial of Service Vulnerability
- CVE-2026-34926Neighboring entryTrend Micro Apex One
Trend Micro Apex One (On-Premise) Directory Traversal Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-05-21. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Langflow has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (Langflow Langflow): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running Langflow Langflow and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://github.com/langflow-ai/langflowProduct
- https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platformExploitMitigationThird Party Advisory
- https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rceThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291US Government Resource
- https://www.crowdsec.net/vulntracking-report/cve-2025-34291Third Party Advisory
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting