---
id: CVE-2025-34291
title: >-
  Langflow versions up to and including 1.6.9 contain a chained vulnerability
  that enables account takeover and remote code execution
summary: >-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-346
vendor: langflow
product: langflow
affected:
  - langflow <= 1.6.9
published: '2025-12-05'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T21:10:00.327'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-34291'
references:
  - url: 'https://github.com/langflow-ai/langflow'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce
    label: disclosure@vulncheck.com
  - url: >-
      https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-34291
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://www.crowdsec.net/vulntracking-report/cve-2025-34291'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - kev
  - in-the-wild
  - exploit-available
  - cve.org
epss: 0.92808
epssPercentile: 0.99828
kev: true
kevDateAdded: '2026-05-21'
kevDueDate: '2026-06-04'
kevRansomware: false
exploited: true
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/amnnrth/CVE-2025-34291_cors_security_scanner'
    - 'https://github.com/ridhinva/langflow-cors-scanner'
  nuclei:
    - CVE-2025-34291
  checkedAt: '2026-10-27T18:12:44.906Z'
exploitAvailable: true
ssvc:
  exploitation: active
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-05-21T00:00:00+00:00'
scores:
  nvd: 8.8
  cna: 9.4
ingestedAt: '2026-07-15T13:44:03.544Z'
---

## Overview

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.

## Affected

- `langflow <= 1.6.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
