CVE-2025-34291: critical vulnerability in Langflow
Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Langflow versions up to 1.6.9 allow attackers on malicious websites to steal login tokens from victims and execute arbitrary code on the server. This happens because the application accepts requests from any website and allows theft of authentication cookies.
CORS misconfiguration (allow_origins='*' with allow_credentials=True) combined with SameSite=None refresh token cookies enables cross-origin token theft via browser-based requests. Attackers exploit the refresh endpoint to obtain valid access_token/refresh_token pairs for victim sessions, subsequently leveraging authenticated code-execution endpoints to achieve RCE. No user interaction required beyond victim visiting attacker-controlled origin while authenticated.
The full analysis of this CVE is available in Portuguese →
In the same product, most dangerous first.