CRITICAL🚩 CISA KEV⚡ EXPLOIT🇵🇱 Wersja polska

CVE-2025-34291

CVSS 9.4v4.0pub. 2025-12-05upd. 2026-05-21

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.

🤖 AI Analysis
How it works

The application is configured with an overly permissive CORS policy (allow_origins='*' with allow_credentials=True), which is an incorrect combination — the browser should block such requests, however an implementation error enables their execution. At the same time, the refresh token cookie is configured with the SameSite=None flag, which allows a malicious website to send cross-origin requests containing credentials. An attacker can trick a victim into visiting a website controlled by the attacker, which calls the token refresh endpoint, thereby obtaining access_token / refresh_token pairs for the victim's session. The obtained tokens enable access to authenticated endpoints, including the built-in code execution functionality, leading to the execution of arbitrary code on the server.

Impact

An attacker can hijack the session of an authenticated user and then leverage the code execution mechanisms built into Langflow to execute arbitrary commands on the server and achieve full system compromise (complete control over the server and potentially over connected resources).

Mitigation & patch

Apply patches available from the vendor according to the references. As a workaround, it is recommended to immediately correct the CORS configuration — remove the combination of allow_origins='*' with allow_credentials=True — and change the SameSite flag for the refresh token cookie to Strict or Lax.

Who is affected

Langflow versions up to and including 1.6.9 (Langflow-ai/Langflow)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Langflow

    APP
    Langflow
    ≤ 1.6.9

CISA KEV — detailsi

Vendori
Langflow
Producti
Langflow
Added to KEVi
May 21, 2026
Remediation deadline (US Federal)i
June 4, 2026(overdue)
Required action (CISA)i

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA descriptioni

Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.

🔴
IMMEDIATE ACTION
Actively exploited in the wild (CISA KEV). Patch immediately.
CISA DEADLINE: 4 czerwca 2026
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2026-9198CRITICAL9.8⚠ KEVPL ✓same product

IBM Langflow OSS: RCE przez nieuprawniony dostęp do tokenów SUPERUSER

CVE-2026-33017CRITICAL9.3⚠ KEVPL ✓same product

Langflow: nieuwierzytelniony RCE przez endpoint budowania publicznych przepływów

CVE-2026-0770CRITICAL9.8⚠ KEVPL ✓same product

Langflow RCE przez parametr exec_globals w endpoincie validate

CVE-2025-3248CRITICAL9.8⚠ KEVPL ✓same product

Nieuwierzytelnione RCE w Langflow poprzez wstrzyknięcie kodu w endpoint /api/v1/validate/code

CVE-2026-19286CRITICAL9.8same product

IBM Langflow OSS 1.0.0 through 1.11.1 could allow a remote attacker to execute arbitrary code due to improper ...