CVE-2025-34291: Langflow Origin Validation Error Vulnerability
CVE-2025-34291 is a Severity not scored in source feed flaw in Langflow Langflow. 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. It is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-05-21), meaning it is being actively exploited. The fix: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Source: CISA Known Exploited Vulnerabilities Catalog. Data as of 2026-06-13.
Vulnerability details
| Field | Value |
|---|---|
| CVE ID | CVE-2025-34291 |
| Vulnerability | Langflow Origin Validation Error Vulnerability |
| Vendor / product | Langflow — Langflow |
| CVSS base score | Not in source feed |
| Severity | — |
| Weakness (CWE) | CWE-346 |
| Added to CISA KEV | 2026-05-21 |
| CISA remediation due | 2026-06-04 |
| Known ransomware use | Unknown |
Source: CISA Known Exploited Vulnerabilities Catalog. Data as of 2026-06-13.
What is the risk?
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.
How to remediate CVE-2025-34291
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
U.S. federal civilian agencies were required to remediate this vulnerability by 2026-06-04 under CISA Binding Operational Directive 22-01. Private organizations should treat it with comparable urgency.
References
Frequently asked questions
What is CVE-2025-34291?
CVE-2025-34291 is a vulnerability in Langflow Langflow: 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.
How severe is CVE-2025-34291?
The CISA KEV catalog does not publish a CVSS base score for this entry. Check the NVD record for the official score. Its presence in the KEV catalog means it is confirmed to be exploited in the wild.
Is CVE-2025-34291 being exploited in the wild?
Yes. It appears in the CISA Known Exploited Vulnerabilities (KEV) catalog, which only lists vulnerabilities with reliable evidence of active exploitation. It was added on 2026-05-21.
How do I fix CVE-2025-34291?
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Related vulnerabilities
- CVE-2009-3459: Adobe Acrobat and Reader Heap-Based Buffer Overflow Vulnerability
- CVE-2025-48595: Android Framework Integer Overflow Vulnerability
- CVE-2026-7473: Arista Extensible Operating System Incomplete Comparison with Missing Factors Vulnerability
- CVE-2026-42271: BerriAI LiteLLM Command Injection Vulnerability
Last updated: 2026-06-13