CVE-2025-34291Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
Updated under an hour ago ()
Does this affect you?
It affects Langflow. Add what you run to find out whether that includes you.
CISA lists it as known exploited since May 21, 2026; federal agencies had to remediate by Jun 4, 2026. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 9.4 CRITICAL (v4.0, 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
- Weakness (CWE)
- CWE-346
- Known exploited
- Added to CISA KEV May 21, 2026; federal remediation due Jun 4, 2026Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 92.81% (percentile 100)
- Assigned by
- VulnCheck
- NVD analysis
- Analyzed
- Record last updated
- Oct 8, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Langflow Langflow langflow:langflow (from the name) | through 1.6.9 | CNA record |
langflow langflow langflow:langflow | through 1.6.9 | NVD |
References
- https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platformtechnical-description, exploit, mitigation, third-party-advisory
- https://github.com/langflow-ai/langflowproduct
- https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rcethird-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291us-government-resource
- https://www.crowdsec.net/vulntracking-report/cve-2025-34291third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.