CVE-2025-34291
Langflow <= 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.
Published Updated Sources: NVD, Langflow (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed May 21, 2026
EPSS
84%
ahead of 99.7% of scored CVEs
CVSS base
8.8
high · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade langflow to 1.7.0 or later (pip advisory GHSA-577h-p2hh-v4mv).
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.
Federal deadline Jun 4, 2026 — passed 80 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Langflow | Langflow | 0 to <= 1.6.9 | Vulnerable |
| pip | langflow | <= 1.6.9 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | NVD, GHSA |
| 9.4 | CVSS 4.0 | critical | — | — | Langflow (CNA) |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness & attack patterns
- CWE-346
Inferred from the weakness class — not observed against this CVE.
- T1557.002Adversary-in-the-Middle: ARP Cache Poisoning
- T1584.002Compromise Infrastructure: DNS Server
- T1134Access Token Manipulation
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
May 21, 2026
Federal deadline
Jun 4, 2026
passed 80 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Repositories
17
3 of the 5 sampled are weaponized
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Langflow, langflow.
- Monitor for scanner or exploit-pattern traffic after 17 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.8 (AV:N)
Jul 14, 2026 · NVD
Added to CISA KEV catalog
May 21, 2026 · CISA
- 2025
Added · GHSA-577h-p2hh-v4mv published (critical)
Dec 6, 2025 · GitHub Security Advisory
Initial · CVE published
Dec 5, 2025 · NVD
References
14 on the record
- github.com/langflow-ai/langflow
Product, Vendor Advisory
- www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
Exploit, Mitigation, Third Party Advisory
- www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
US Government Resource
- www.crowdsec.net/vulntracking-report/cve-2025-34291
Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-34291
NVD, Vendor Advisory
- github.com/langflow-ai/langflow/pull/10139
Exploit, Third Party Advisory
- github.com/langflow-ai/langflow/pull/10696
Exploit, Third Party Advisory
Elsewhere on this site
- Langflowevery CVE for this vendor
- pipevery CVE for this vendor
- May 2026what else CISA listed
- Remote Code Execsame class
- CWE-346other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2025-34291 is Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE, a high vulnerability affecting Langflow, langflow from Langflow, pip. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 17 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 84% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.