Skip to content
Heist/ feed
Critical

Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE

Type: advisorySource: Official CVE ListKnown exploited1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-34291

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-34291

Langflow

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/langflow-ai/langflow",
    "vendor": "Langflow",
    "modules": [
      "CORSMiddleware configuration",
      "refresh token cookie handling"
    ],
    "product": "Langflow",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "1.6.9"
      }
    ],
    "packageURL": "pkg:pypi/langflow",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2025-34291

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

CVE-2025-34291 · Unrated

Langflow · Known exploited (CISA KEV)

Event
#12630 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement