Langflow CORS and SameSite misconfiguration allows account takeover
CVE-2025-34291Known exploitedCritical
Langflow versions up to 1.6.9 use overly permissive CORS settings that allow any origin to make cross-origin requests with credentials, combined with refresh token cookies set to SameSite=None. An attacker can host a malicious webpage that tricks a victim into visiting it, allowing the attacker's site to obtain fresh access and refresh tokens for the victim's session. With these tokens, the attacker can access authenticated endpoints including code-execution functionality, enabling arbitrary code execution and full system compromise.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 21 May
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
Detail
Langflow. 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.
Weakness: CWE-346 (opens in a new tab)
Affected versions
- langflow langflow: up to 1.6.9