CVE-2025-34291: Langflow Origin Validation Error Vulnerability
Vulnerability summary
CVE-2025-34291 is a critical (CVSS 9.4) Origin Validation Error vulnerability in Langflow. It is known to be exploited: CISA lists it, first on 21-05-2026. EPSS estimates a 92.81% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-12-2025PublishedVulnerability first disclosed.
- 21-05-2026Added to CISA KEVLangflow Origin Validation Error Vulnerability
- 04-06-2026CISA remediation dueApply mitigations per vendor instructions.
- 08-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- NVDNIST9.4CriticalCVSS: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
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
92.81%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
+9.18 pp
From 83.63% on 21-09-2026
Known exploited
Compare KEV catalogs- Added
- 21-05-2026
- Federal due date
- 04-06-2026
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. github.com/langflow-ai/langflow/releases/tag/v1.9.3 github.com/langflow-ai/langflow/issues/11465 nvd.nist.gov/vuln/detail/CVE-2025-34291
Public exploits
1 foundExploit Reference (obsidiansecurity.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Langflow1 product
- langflow≤ 1.6.9
PyPI1 product
- langflow< 1.7.0
2 vendors · 2 products
References
12 links- www.obsidiansecurity.com/blog/…Technical DescriptionExploitWEBEVIDENCEMitigationThird Party Advisory
- www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rceThird Party AdvisoryWEBAdvisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291Government ResourceWEBUS Government Resource