{"cve":"CVE-2025-34291","nvd":{"published":"2025-12-05T23:15:47.433","modified":"2026-10-15T21:10:00.327","status":"Analyzed","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.","cvss_v4":{"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},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-346"],"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"],"products":["langflow:langflow"],"source":"nvd","synced_at":"2026-10-19T22:16:40.427100871+00:00"},"epss":{"cve":"CVE-2025-34291","score":0.92808,"percentile":0.99827,"date":"2026-10-25"},"kev":{"cve":"CVE-2025-34291","date_added":"2026-05-21","due_date":"2026-06-04","vendor":"Langflow","product":"Langflow","known_ransomware":false},"osv":[{"id":"GHSA-577h-p2hh-v4mv","url":"https://osv.dev/vulnerability/GHSA-577h-p2hh-v4mv","summary":"Langflow CORS misconfiguration enables Account Takeover and RCE","modified":"2026-05-29T21:00:16.278370494Z","packages":[{"ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":["<1.7.0"],"fixed":["1.7.0"]}]},{"id":"PYSEC-2025-78","url":"https://osv.dev/vulnerability/PYSEC-2025-78","summary":"","modified":"2026-06-10T17:01:58.704525618Z","packages":[{"ecosystem":"PyPI","name":"langflow","purl":"pkg:pypi/langflow","ranges":["<1.7.0"],"fixed":["1.7.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}