Actively exploited vulnerability / CVE-2025-34291
Langflow: a malicious web page can take over accounts and the server
This vulnerability lets an attacker hijack a Langflow user's session if that user opens a web page prepared by the attacker, and then run any code they want on the server hosting Langflow. In practice the attacker can gain full control of the system, including access to data, credentials and connections to other company services. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2025-34291 · EUVD-2025-201507
- Severity
- Critical (9.4/10)
- On the CISA list (US)
- yes, since 21 May 2026
- Deadline given to US federal agencies
- 4 June 2026
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 14.5% (FIRST's estimate for the next 30 days)
Does it concern you?
Langflow is an application used to build AI workflows and agents. It is typically found at companies developing or testing AI solutions, installed on their own server or in the cloud.
All Langflow versions up to and including 1.6.9 are affected. The version is usually shown in the application's interface; if you cannot find it, ask the person or company that set up Langflow.
Affected products and versions
- Langflow
- langflow: up to and including 1.6.9
What to do
Apply the mitigations and updates recommended by the Langflow vendor. If no fix is available, stop using the application until one is released.
The official description
The text below is the description from the public database.
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.
Sources
- CVE Program
- GitHub Advisory Database
- Vendor advisory: github.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.