Langflow Origin Validation Error Vulnerability
Langflow — Langflow
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.
8.8
83.6%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- Dec 5, 2025
- Modified
- Jul 14, 2026
- Added to KEV
- May 21, 2026
- Federal patch due
- Jun 4, 2026
CISA 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.
Weakness classification
Affected packages
Proof-of-concept & exploitation references
2 foundWeaponization
Public repositories whose name or description references CVE-2025-34291, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
- amnnrth/CVE-2025-34291_cors_security_scanner★ 0
A lightweight Python-based security assessment tool for detecting dangerous Cross-Origin Resource Sharing (CORS) misconfigurations - CVE-2025-34291.
updated May 18, 2026
- ridhinva/langflow-cors-scanner★ 0
Scanner: CVE-2025-34291 Langflow Origin Validation Error / CORS Misconfiguration — Python checker (CISA KEV)
updated Aug 7, 2026
References
Frequently asked questions
What is CVE-2025-34291?
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.
How severe is CVE-2025-34291?
CVE-2025-34291 has a CVSS base score of 8.8 out of 10 (CVSS 3.1).
Is CVE-2025-34291 actively exploited in the wild?
Yes. CVE-2025-34291 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 21, 2026, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2025-34291?
83.6% - meaning FIRST.org's EPSS model estimates a 83.6% probability this vulnerability will be exploited in the wild within 30 days (100% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2025-34291?
Yes - a public Nuclei template referencing CVE-2025-34291 exist in public repositories we checked. We also found 2 public GitHub repositories referencing this CVE.
What type of vulnerability is CVE-2025-34291?
CVE-2025-34291 is classified under CWE-346 (CWE-346 Origin Validation Error).
Cross-checked against
Impactr finds and proves whether CVE-2025-34291 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist