CVE-2025-34291
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, SOCRadar CTI
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
15%
ahead of 97% 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 183 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 | n/a | n/a | Langflow (CNA) |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-346 · Origin Validation Error
- Gain Privileges or Assume Identity
- Varies by Context
Weakness & attack patterns
- CWE-346
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- 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 183 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.
PoC repos
18
4 of the 5 sampled are weaponized
Exploit entries
1
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
CVEs Explainer #10 CVE-2025-34291 (Langflow CORS/CSRF Chain) A more recent critical vulnerability chain in Langflow, an AI development tool. It combined CORS and CSRF flaws to allow an unauthenticated attacker to hijack an authenticated user's session and achieve full remote https://t.co/EebisiAyp1
@xbhaveshverma· Oct 8, 2026
CISA Adds Two Known Exploited Vulnerabilities to Catalog CISA has added two new vulnerabilities to its Known Exploited Vulnerabilities (KEV) Catalog, based on evidence of active exploitation. CVE-2025-34291 Langflow Origin Validation Error Vulnerability CVE-2026-3492 @CISACyber
@TheCyphere· Jul 22, 2026
Any unpatched Langflow instance is being scanned by Iranian APT MuddyWater right now. CVE-2025-34291 (CVSS 9.4) chains a CORS flaw, missing CSRF, and a code-exec endpoint into full RCE plus exfil of every API key. CISA KEV deadline June 4.
@ShortInfoNews· Jun 15, 2026
🚨 UPDATE — Langflow CVE-2026-5027: This is now the 5th Langflow CVE exploited in 2026. A CISA KEV listing is expected imminently — a prior Langflow RCE (CVE-2025-34291) was added to KEV on May 21 with Iranian APT MuddyWater confirmed in attacks. Key pattern: Langflow stores API
@CyberAlertsHQ· Jun 10, 2026
CVE-2025-34291: Langflow AI Agent Account Takeover and Remote Code Execution - What It Means for Your Business and How to Respond https://t.co/cUpVe7tk5j
@integ_sec· May 30, 2026
20 more posts on this CVEShowing 5 of 25 · Who is discussing this CVE, and how loudlyUnlock freeDetection
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 19 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip209.74.87.6720
AlienVault OTX Feeds · Feb 24, 2026
- ip162.0.230.18559
AlienVault OTX Feeds · Jan 29, 2026
- ip157.20.182.4978
Threatview.io Feeds · Feb 8, 2026
- ip193.17.183.12654
Maltrail Malware Feeds · Mar 3, 2026
- ip209.74.87.10058
AlienVault OTX Feeds · Feb 24, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited Langflow Origin Validation Error Vulnerability
Nov 20, 2026 · SOCRadar CTI
Added · CVSS 3.1 8.8 (AV:N)
Oct 15, 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
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 19×SVRS was changedMay 22, 2026 – Jun 24, 2026 · SOCRadar CTI
- 11×TweetsMay 22, 2026 – Oct 9, 2026 · SOCRadar CTI
- 3×ModifiedMar 5, 2026 – May 22, 2026 · SOCRadar CTI
- 2×Github ReposMay 18, 2026 – May 22, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.May 22, 2026 · SOCRadar CTI
- 1×5 times mentioned on 3 Telegram channelsMay 22, 2026 · SOCRadar CTI
References
14 on the record
- github.com/langflow-ai/langflow
Product, NIST, 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, NIST, GITHUB
- www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
Third Party Advisory, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
US Government Resource, NIST
- www.crowdsec.net/vulntracking-report/cve-2025-34291
Third Party Advisory, NIST
- 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
Coverage
19 stories from the feeds we poll
CISA Adds 4 Actively Exploited Adobe, Joomla, and Langflow Flaws to KEV - The Hacker News
thehackernews.com · Jul 8, 2026
When AI Hacks AI: The New Frontier of Cyber Threats - Unite.AI
unite.ai · Sep 29, 2026
Active Exploitation Alert: Iranian Cavern Manticore APT Deploys Modular Cavern C2 Malware Targeting Israeli Organizations - Rescana
rescana.com · Jul 7, 2026
May 2026 CVE Landscape
recordedfuture.com · Jun 8, 2026
Langflow Under Attack: CISA Sounds Alarm on Critical Flaw Hackers Are Already Exploiting - kobaran.com
kobaran.com · Jul 23, 2026
14 more reports on this CVEShowing 5 of 19 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-33017 Langflow has Unauthenticated Remote Code Execution via Public Flow Build EndpointCVSS 9.8 · CISA KEV
- CVE-2026-0770 Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-3248 Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/codeCVSS 9.8 · CISA KEV
- CVE-2026-55255 Langflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowCVSS 8.4 · CISA KEV
- CVE-2026-0769 Langflow eval_custom_component_code Eval Injection Remote Code Execution VulnerabilityCVSS 9.8
- CVE-2026-0768 Langflow code Code Injection Remote Code Execution VulnerabilityCVSS 9.8
Elsewhere on this site
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.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic 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: 19 public PoC repositories reported; 4 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 15% 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.