CVE-2025-34291 kev in the critical feed json
Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
published 2025-12-05 11 mo ago modified 2026-10-15 24 d ago also GHSA-577h-p2hh-v4mv , PYSEC-2025-78 , EUVD-2025-201507
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Exploited
- added 2026-05-21
- epss
- 93.2%
- EPSS 93.2% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
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.
- pypi langflow 1.7.0
- github.com/langflow-ai/langflow#10139 pull request
- github.com/langflow-ai/langflow#10696 pull request
- github.com/langflow-ai/langflow#9240 pull request
- github.com/langflow-ai/langflow#9441 pull request
Timeline
- Published
- CISA SSVC: exploitation active
- Added to CISA KEV
- CISA patch deadline
Known exploited
- Added
- 5 mo ago
- Patch by
- 2026-06-04 (5 mo ago)
- Ransomware
- Not known
- 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.
- Vendor, product
- Langflow, Langflow
- CISA name
- Langflow Origin Validation Error Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
93.22% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Langflow AI <= 1.6.9 - CORS Misconfiguration nuclei detection template
- obsidiansecurity.com https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.4 | 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 |
| CNA | 4.0 | 9.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langflow | <1.7.0 |
1.7.0 |
Affected products
- Langflow Langflow
Classification
- Weakness
-
- CWE-346 Origin Validation Error
References
-
github.com
/langflow-ai/langflow/pull/10139
web
-
github.com
/langflow-ai/langflow/pull/10696
web
-
github.com
/langflow-ai/langflow/pull/9240
web
-
github.com
/langflow-ai/langflow/pull/9441
web
-
obsidiansecurity.com
/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platfor
technical-description, exploit, web, mitigation, third-party-advisory, evidence
-
github.com
/langflow-ai/langflow
product, package
-
vulncheck.com
/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
third-party-advisory, web, advisory
-
crowdsec.net
/vulntracking-report/cve-2025-34291
third-party-advisory, web
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2025-34291
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2025-78.yaml
web
-
github.com
/advisories/GHSA-577h-p2hh-v4mv
advisory
Sources
- CVE List CVE-2025-34291
- GitHub Advisory GHSA-577h-p2hh-v4mv
- NVD CVE-2025-34291
- OSV PYSEC-2025-78
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.