LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2025-34291: Langflow Origin Validation Error Vulnerability

RBRecent Breaches Vulnerability Intelligence·May 21, 2026
CVSS 9.4 · Critical⚠ Actively exploited (CISA KEV)
9.4
CVSS score
Critical
Severity
Active
CISA KEV
No
Ransomware use
Jun 4, 2026
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-34291 to its Known Exploited Vulnerabilities catalog on May 21, 2026, with a federal patch deadline of Jun 4, 2026 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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.

Langflow contains an origin validation error that stems from an overly permissive CORS configuration paired with a refresh token cookie set to SameSite=None. The combination permits a malicious webpage to issue cross-origin requests that carry credentials and reach the refresh endpoint, after which obtained tokens can be used against authenticated functions. This matters for organizations running Langflow because successful abuse can result in arbitrary code execution and full system compromise.

How it works

The weakness is classified as CWE-346, an origin validation error. In this class an application fails to enforce that incoming requests originate from an expected source.

Exploit mechanics beyond this description are not provided in the available summary and must be confirmed against the vendor advisory.

Am I affected? How to find it in your systems

Langflow instances are typically deployed in development or internal environments that expose web interfaces. Begin by inventorying all hosts running the software through package managers, container registries, or orchestration platforms.

How to remediate

Apply the vendor-supplied update or configuration change referenced in the official advisory. After patching, review and tighten CORS policies to list only required origins and change the refresh token cookie to SameSite=Lax or Strict where functional requirements allow.

If you can't patch immediately

Until a fix can be applied, place Langflow instances behind network controls that limit inbound traffic to trusted sources only. Segment the systems so that compromise cannot easily reach production data stores or other services.

If your data may have been exposed

Actively exploited vulnerabilities of this type have led to unauthorized access and subsequent data exposure in other incidents. Organizations can run a free exposure scan of their domains and associated email addresses against known breach data to determine whether any credentials or tokens have already appeared in public records.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedLangflow · Langflow
WeaknessCWE-346
CVSS base score9.4 (Critical)
CVSS vectorCVSS: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
PublishedDec 5, 2025
Added to CISA KEVMay 21, 2026
Federal patch deadlineJun 4, 2026
Known ransomware useNot documented
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities