# CVE-2025-34291: Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE

> CVE-2025-34291: Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE. CVSS 8.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2025-34291
Last updated: 2026-10-15T21:10:00Z

- Published: 2025-12-05 22:27 UTC · Updated: 2026-10-15 21:10 UTC · Assigner: VulnCheck
- CVSS: 8.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 92.8%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2026-05-21, federal due date 2026-06-04, ransomware use: Unknown
- CWE: CWE-346

## Description

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.

## Affected vendors and products

- Langflow: Langflow

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-34291)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-34291)
- [https://github.com/langflow-ai/langflow](https://github.com/langflow-ai/langflow)
- [https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform](https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform)
- [https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce](https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-34291 · Markdown: https://rewindex.com/cve/CVE-2025-34291.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-34291 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:45.532Z
