CVE-2025-34291
CVE-2025-34291 is a high-severity vulnerability in Langflow with a CVSS 3.x base score of 8.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2026-05-21). The underlying weakness is classified as CWE-346.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v4: 9.4
- EPSS exploit prediction: 79% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2026-05-21)
- EU (EUVD) id: EUVD-2025-201507
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2026-05-21)
- Weakness: CWE-346
- Affected product: Langflow
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-34291?
- 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.
- How severe is CVE-2025-34291?
- CVE-2025-34291 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-34291 being actively exploited?
- Yes. CVE-2025-34291 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2026-05-21, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2025-34291?
- CVE-2025-34291 affects Langflow. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-34291?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2025-34291 have an EU (EUVD) identifier?
- Yes. CVE-2025-34291 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-201507. It is also flagged as exploited in the EUVD (since 2026-05-21).
- When was CVE-2025-34291 published?
- CVE-2025-34291 was published on 2025-12-05 and last updated on 2026-06-17.
References
- https://github.com/langflow-ai/langflow
- https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
- https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
- https://www.crowdsec.net/vulntracking-report/cve-2025-34291
Affected products (1)
- cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*
More vulnerabilities in Langflow
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-7873 — Critical (CVSS 9.9): IBM Langflow OSS 1.0.0 through 1.10.0 allows authenticated attackers to execute arbitrary OS commands and read…
- CVE-2026-33873 — Critical (CVSS 9.9): Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.9.0, the Agentic…
- CVE-2026-33309 — Critical (CVSS 9.9): Langflow is a tool for building and deploying AI-powered agents and workflows. Versions 1.2.0 through 1.8.1 have a…
- CVE-2026-7871 — Critical (CVSS 9.8): IBM Langflow OSS 1.0.0 through 1.10.0 allows users with Redis access to execute arbitrary code with full application…
Other CWE-346 vulnerabilities
- CVE-2026-42901 — Critical (CVSS 10.0): Origin validation error in Microsoft Entra ID allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-6508 — Critical (CVSS 9.8): Origin Validation Error vulnerability in TUBITAK BILGEM Software Technologies Research Institute Liderahenk allows…
- CVE-2026-2790 — Critical (CVSS 9.8): Same-origin policy bypass in the Networking: JAR component. This vulnerability was fixed in Firefox 148, Firefox ESR…
- CVE-2022-50925 — Critical (CVSS 9.8): Prowise Reflect version 1.0.9 contains a remote keystroke injection vulnerability that allows attackers to send…
- CVE-2025-30466 — Critical (CVSS 9.8): This issue was addressed through improved state management. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS…
- CVE-2024-8487 — Critical (CVSS 9.8): A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS…