CVE-2025-34291
8.8 HIGHLangflow versions up to and including 1.6.9 contain a chained vulnerability that enables account takeover and remote code execution
Published: 2025-12-05 · Last updated: 2026-05-21
Severity and scoring
- CVSS
- 8.8 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-346
Affected products
| Vendor | Product |
|---|---|
| langflow | langflow |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2025-34291
- [Other]https://github.com/langflow-ai/langflow
- [Exploit reference]https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
- [Other]https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
- [Other]https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
- [Other]https://www.crowdsec.net/vulntracking-report/cve-2025-34291
Related CVEs
Same vendor
- CVE-2026-7528 — IBM Langflow OSS 1.0.0 through 1.9.0 could allow a denial of service due to uncontrolled resource consumption (7.1 HIGH)
- CVE-2026-7524 — IBM Langflow OSS 1.0.0 through 1.9.1 could allow remote code execution due to improper validation of symbolic links during archive extrac... (9.8 CRITICAL)
- CVE-2026-33017 — Langflow is a tool for building and deploying AI-powered agents and workflows (9.8 CRITICAL)
Same CWE
- CVE-2026-42558 — Xibo is an open source digital signage platform with a web content management system and Windows display player software (7.6 HIGH)
- CVE-2026-10846 — NLnet Labs ldns 1.2.0 up to and including versions 1.9.0, when used in applications as (stub) resolver over UDP, lacks matching the query...
- CVE-2026-44755 — SAP Business Objects Business Intelligence Platform does not sufficiently validate email sending parameters supplied by authenticated use... (4.3 MEDIUM)
- CVE-2026-11693 — Inappropriate implementation in Plugins in Google Chrome prior to 149.0.7827.103 allowed a remote attacker who had compromised the render... (8.1 HIGH)
- CVE-2026-43972 — Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUS...