CVE-2025-34291
CRITICAL 9.4CVSS 4.0known exploitedLangflow CORS misconfiguration enables Account Takeover and RCE
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.
- Published
- 5 Dec 2025
- Last modified
- 15 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-346
- Also known as
- GHSA-577h-p2hh-v4mvPYSEC-2025-78
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-577h-p2hh-v4mvJSONOSV PYSEC-2025-78JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.4 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langflow | langflowcpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* |
<= 1.6.9 | |
| OSV | PyPI | langflow | < 1.7.0 | 1.7.0 |
References
- https://github.com/langflow-ai/langflow · Product, PACKAGE
- https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform · Exploit, Mitigation, Third Party Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce · Third Party Advisory, WEB, ADVISORY
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291 · US Government Resource, WEB
- https://www.crowdsec.net/vulntracking-report/cve-2025-34291 · Third Party Advisory, WEB
- https://github.com/langflow-ai/langflow/releases/tag/v1.9.3
- https://github.com/langflow-ai/langflow/issues/11465#event-25774545848
- https://nvd.nist.gov/vuln/detail/CVE-2025-34291 · ADVISORY
- https://github.com/langflow-ai/langflow/pull/10139 · WEB
- https://github.com/langflow-ai/langflow/pull/10696 · WEB
- https://github.com/langflow-ai/langflow/pull/9240 · WEB
- https://github.com/langflow-ai/langflow/pull/9441 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2025-78.yaml · WEB
- https://github.com/advisories/GHSA-577h-p2hh-v4mv · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 5 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Dec 2025)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 21 May 2026)
- 21 May 2026 00:00 UTC · Listed as known exploited