9.4Critical KEV

CVE-2025-34291Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE

Langflow Langflow Published: (11 months ago)

Known exploited — Langflow Origin Validation Error Vulnerability

CISA confirmed this vulnerability is used in real attacks on 21.05.2026. Remediation deadline for US federal agencies: 04.06.2026.

Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/langflow-ai/langflow ; https://github.com/langflow-ai/langflow/releases/tag/v1.9.3; https://github.com/langflow-ai/langflow/issues/11465#event-25774545848 ; https://nvd.nist.gov/vuln/detail/CVE-2025-34291

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.

Weakness (CWE): CWE-346

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Langflow Langflow ≤ 1.6.9

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* ≤ 1.6.9