CVE-2025-34291
Langflow Origin Validation Error Vulnerability
- Actively exploited
- Critical · 9.4 of 10
- Exploited since
- 21 May 2026 added to the CISA list
- Chance of attacks
- 93% in the next 30 days (FIRST EPSS)
- Fix deadline
- 4 Jun 2026 for US federal agencies
- Published
- 6 Dec 2025 in the NVD
What this means
Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.
CISA
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.
NIST National Vulnerability Database
What to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- Langflow Langflow
Official sources
- nvd.nist.gov/vuln/detail/CVE-2025-34291
- github.com/langflow-ai/langflow
- obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-i...
- vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
- crowdsec.net/vulntracking-report/cve-2025-34291
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector 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:.