CVE-2025-34291

Langflow Origin Validation Error Vulnerability

Actively exploited · CISA KEV
9.4 CriticalCVSS v4.0
93.7%EPSS (30-day exploit probability)
2026-05-21added to KEV
2026-06-04CISA federal due date

Summary

Langflow Langflow. 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.

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 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
Weakness
CWE-346
Published
2025-12-05 (last modified 2026-10-15)

What to do

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

  1. Find every instance of Langflow Langflow in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2025-34291 being exploited?

Yes. CISA added CVE-2025-34291 to its Known Exploited Vulnerabilities catalog on 2026-05-21, which means there is reliable evidence of active exploitation.

How do I fix CVE-2025-34291?

CISA 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.

What is the EPSS score for CVE-2025-34291?

The EPSS score is 93.66%, meaning an estimated 93.66% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Langflow vulnerabilities

CVE-2026-0770Langflow Inclusion of Functionality from Untrusted Control Sphere Vulnerability2026-07-21
CVE-2026-55255Langflow Authorization Bypass Through User-Controlled Key Vulnerability2026-07-07
CVE-2026-33017Langflow Code Injection Vulnerability2026-03-25
CVE-2025-3248Langflow Missing Authentication Vulnerability2025-05-05

All Langflow exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.