Known Exploited Vulnerability
9.4
CRITICAL CVSS 4.0
CVE-2025-34291
Langflow Origin Validation Error Vulnerability - [Actively Exploited]
Description

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.

INFO

Published Date :

Dec. 5, 2025, 11:15 p.m.

Last Modified :

May 21, 2026, 8:16 p.m.

Remotely Exploit :

Yes !
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

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.

Required Action :

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Known Ransomware Campaign Use:

Unknown

Notes :

This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/langflow-ai/langflow ; https://github.com/langflow-ai/langflow/releases/tag/v1.9.3; https://github.com/langflow-ai/langflow/issues/11465#event-25774545848 ; https://nvd.nist.gov/vuln/detail/CVE-2025-34291

Affected Products

The following products are affected by CVE-2025-34291 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Langflow langflow
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 CRITICAL 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 CRITICAL [email protected]
Solution
Update Langflow to the latest version to fix account takeover and RCE vulnerabilities.
  • Update Langflow to version 1.7.0 or later.
  • Restrict CORS configuration to known origins.
  • Set SameSite attribute for session cookies appropriately.
  • Review and harden all security configurations.
Public PoC/Exploit Available at Github

CVE-2025-34291 has a 12 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-34291 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-34291 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Langflow Origin Validation Error / CORS Misconfiguration Scanner

Python

Updated: 5 hours, 54 minutes ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 8:44 p.m. This repo has been linked 1 different CVEs too.

Actively exploited CVE scanners from CISA KEV + Twitter trends - Drupal SQLi, PAN-OS RCE, Android ADBD, GHE RCE, BeyondTrust, Defender, and more

Python

Updated: 5 hours, 56 minutes ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 8:42 p.m. This repo has been linked 11 different CVEs too.

A lightweight Python-based security assessment tool for detecting dangerous Cross-Origin Resource Sharing (CORS) misconfigurations - CVE-2025-34291.

Python

Updated: 4 days, 14 hours ago
0 stars 0 fork 0 watcher
Born at : May 18, 2026, 12:26 p.m. This repo has been linked 1 different CVEs too.

A curated timeline of real AI agent security incidents, breaches, and vulnerabilities (2024-2026). Every entry sourced and dated.

ai-agent-security ai-agents ai-security awesome-list cybersecurity llm-security mcp-security prompt-injection supply-chain-security adversarial-attacks agent-security agentic-ai ai-attacks ai-safety cve incident-response owasp red-team security-research vulnerability

Updated: 4 weeks, 1 day ago
7 stars 1 fork 1 watcher
Born at : April 7, 2026, 2:19 p.m. This repo has been linked 55 different CVEs too.

A curated corpus of incidents, attack vectors, failure modes, and defensive tools for autonomous AI agents.

agent-skills ai ai-agents claude claude-code codex llm openclaw prompt-injection security vibe-coding ai-security llm-security

Updated: 1 week, 2 days ago
15 stars 4 fork 4 watcher
Born at : March 30, 2026, 4:23 p.m. This repo has been linked 8 different CVEs too.

Coyote Security - Open Source security scanner for Github repos and AI Agents.

Shell Python

Updated: 1 month, 2 weeks ago
7 stars 1 fork 1 watcher
Born at : Jan. 29, 2026, 2:13 a.m. This repo has been linked 17 different CVEs too.

Autonomous AI agents are starting to act on our behalf — making purchases, executing workflows, negotiating with other agents. As this shift accelerates, verifiable identity becomes a foundational requirement.

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 10, 2026, 4:37 a.m. This repo has been linked 4 different CVEs too.

None

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 15, 2025, 5:38 p.m. This repo has been linked 14 different CVEs too.

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 4 weeks ago
8 stars 1 fork 1 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 282 different CVEs too.

None

HTML

Updated: 4 hours, 20 minutes ago
0 stars 0 fork 0 watcher
Born at : March 13, 2024, 2:18 p.m. This repo has been linked 6 different CVEs too.

一个 CVE 漏洞预警知识库,无 exp/poc,部分包含修复方案。A knowledge base of CVE security vulnerability, no PoCs/exploits.

Updated: 1 week, 4 days ago
167 stars 23 fork 23 watcher
Born at : Jan. 5, 2023, 2:19 a.m. This repo has been linked 245 different CVEs too.

一个漏洞 PoC 知识库。A knowledge base for vulnerability PoCs(Proof of Concept), with 1k+ vulnerabilities.

poc

Dockerfile Java Python

Updated: 1 week, 4 days ago
4956 stars 974 fork 974 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 497 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-34291 vulnerability anywhere in the article.

  • CybersecurityNews
CISA adds Langflow Origin Validation Flaw to Known Exploited Vulnerabilities Catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added a critical Langflow vulnerability, tracked as CVE-2025-34291, to its Known Exploited Vulnerabilities (KEV) Catalog, signaling ... Read more

Published Date: May 22, 2026 (10 hours, 2 minutes ago)
  • TheCyberThrone
CISA adds Langflow and Trend Micro Apex One to KEV

May 22, 2026CVE-2025-34291 — Langflow Origin Validation Error (RCE)CVSS: 9.4CWE: CWE-346 — Origin Validation ErrorAffected Versions: Langflow ≤ 1.6.9Vulnerability SummaryResearchers at Obsidian Securi ... Read more

Published Date: May 22, 2026 (10 hours, 49 minutes ago)
  • The Hacker News
CISA Adds Exploited Langflow and Trend Micro Apex One Vulnerabilities to KEV

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Thursday added two security flaws impacting Langflow and Trend Micro Apex One to its Known Exploited Vulnerabilities (KEV) catalog, ... Read more

Published Date: May 22, 2026 (20 hours, 51 minutes ago)
  • CybersecurityNews
MuddyWater-Style Hackers Scan 12,000+ Systems Before Hitting Middle East Critical Sectors

A sophisticated cyber campaign bearing strong operational similarities to the MuddyWater threat group has been caught sweeping more than 12,000 internet-exposed systems across multiple regions before ... Read more

Published Date: Apr 15, 2026 (1 month, 1 week ago)

The following table lists the changes that have been made to the CVE-2025-34291 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Modified Analysis by [email protected]

    May. 22, 2026

    Action Type Old Value New Value
    Added Reference Type CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291 Types: US Government Resource
    Added Reference Type CISA-ADP: https://www.crowdsec.net/vulntracking-report/cve-2025-34291 Types: Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 21, 2026

    Action Type Old Value New Value
    Added Reference https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
    Added Reference https://www.crowdsec.net/vulntracking-report/cve-2025-34291
  • CVE CISA KEV Update by 9119a7d8-5eab-497f-8521-727c672e3725

    May. 21, 2026

    Action Type Old Value New Value
    Added Date Added 2026-05-21
    Added Due Date 2026-05-21
    Added Required Action 2026-05-21
    Added Vulnerability Name 2026-05-21
  • Initial Analysis by [email protected]

    Jan. 16, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* versions up to (including) 1.6.9
    Added Reference Type VulnCheck: https://github.com/langflow-ai/langflow Types: Product
    Added Reference Type VulnCheck: https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform Types: Exploit, Mitigation, Third Party Advisory
    Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce Types: Third Party Advisory
  • New CVE Received by [email protected]

    Dec. 05, 2025

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-346
    Added Reference https://github.com/langflow-ai/langflow
    Added Reference https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
    Added Reference https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.