CVE-2025-34291Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
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.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 9.4 | CRITICAL | 4.0VulnCheck (CNA) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| 8.8 | HIGH | 3.1NVD | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CISA required action
⚡ Known exploited · remediation due Jun 4, 2026
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Details
- CVE ID
- CVE-2025-34291
- Status
- Analyzed
- Assigner (CNA)
- VulnCheck
- Published
- Dec 5, 2025
- Last modified
- 2026-10-15 21:10 UTC
- Weaknesses
- CWE-346 · Origin Validation Error
Affected Products
As published by the CNA in the CVE record.
LangflowLangflow1 version range
- through 1.6.9
References
- github.com https://github.com/langflow-ai/langflow
- obsidiansecurity.com https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
- vulncheck.com https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
- crowdsec.net https://www.crowdsec.net/vulntracking-report/cve-2025-34291