{"id":"CVE-2025-34291","revision":"4804c73eb3884d7a92819a5f4d1911da","records":[{"revision":"4804c73eb3884d7a92819a5f4d1911da","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-34291","aliases":[],"title":"Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE","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.","state":0,"publishedAt":"2025-12-05T22:27:26.438+00:00","modifiedAt":"2026-10-08T15:21:21.34+00:00","affected":[{"ecosystem":"Vendor product","name":"Langflow","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/langflow\",\n                    \"modules\": [\n                        \"CORSMiddleware configuration\",\n                        \"refresh token cookie handling\"\n                    ],\n                    \"product\": \"Langflow\",\n                    \"repo\": \"https://github.com/langflow-ai/langflow\",\n                    \"vendor\": \"Langflow\",\n                    \"versions\": [\n                        {\n                            \"lessThanOrEqual\": \"1.6.9\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.4,"severity":"CRITICAL"}],"references":["https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform","https://github.com/langflow-ai/langflow","https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-34291","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-34291","identifiers":["CVE-2025-34291"]},"retained":false,"historicalAffected":[]}],"coverage":[]}