CVE-2025-34291 Langflow · Langflow
8.8 HighKEVEU
Official 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.
- Published
- 2025-12-05 23:15 UTC
- Modified
- 2026-10-15 21:10 UTC
- CVSS
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 14.54% (percentile 97)
- CISA KEV
- added: 2026-05-21 · due date (US federal agencies): 2026-06-04
Langflow Origin Validation Error Vulnerability - ENISA EUVD
- EUVD-2025-201507 · exploited: 2026-05-21
- CWE
- CWE-346
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/langflow-ai/langflow - www.obsidiansecurity.com
https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform - www.vulncheck.com
https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce - www.cisa.gov
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291 - www.crowdsec.net
https://www.crowdsec.net/vulntracking-report/cve-2025-34291