CVE-2025-34291: Langflow Origin Validation Error
Langflow · listed in the CISA catalog of actively exploited vulnerabilities since 2026-05-21.
- CVSS v4.0 (CVE record)
- 9.4
- critical
- EPSS (exploit probability, 30 days)
- 93%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2026-05-21
- US federal due date 2026-06-04
- Automatable (CISA SSVC)
- no
- technical impact: total
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.
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.
CISA 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: github.com/langflow-ai/langflow
- github.com/langflow-ai/langflow/releases/tag/v1.9.3; github.com/langflow-ai/langflow/issues/11465
- nvd.nist.gov/vuln/detail/CVE-2025-34291
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- LangflowCORSMiddleware configuration, refresh token cookie handlingAffectedFixed in
- ≤ 1.6.9
not stated
| Product | Affected | Fixed in |
|---|---|---|
| LangflowCORSMiddleware configuration, refresh token cookie handling |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/langflow-ai/langflow/releases/tag/v1.9.3
- CISA's deadline for US federal agencies: 2026-06-04 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-346 Origin Validation Error
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.