BreachSpiderVerified, not vibes

CVE-2025-34291 in Langflow

Known-exploited (CISA) since 2026-05-21 High 8.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
CVSS v49.4
EPSS14.5%
EPSS percentile97th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Langflow Langflow ≤ 1.6.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2026-05-21
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-34291
BreachSpider IDBS-2025-GLOBAL-270848-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-12-05
Last modified2026-10-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-346: CWE-346

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-346

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-346

CAPEC-76 Manipulating Web Input to File System Calls via CWE-346

CAPEC-142 DNS Cache Poisoning via CWE-346

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-346

Show all 16

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-346

CAPEC-388 Application API Button Hijacking via CWE-346

CAPEC-75 Manipulating Writeable Configuration Files via CWE-346

CAPEC-89 Pharming via CWE-346

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-346

CAPEC-141 Cache Poisoning via CWE-346

CAPEC-160 Exploit Script-Based APIs via CWE-346

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-346

CAPEC-386 Application API Navigation Remapping via CWE-346

CAPEC-510 SaaS User Request Forgery via CWE-346

CAPEC-21 Exploitation of Trusted Identifiers via CWE-346

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Langflow versions up to and including 1.6.9 are vulnerable to a chained attack that combines an overly permissive CORS configuration and insecure refresh token handling, leading to account takeover and remote code execution. This vulnerability has a CVSS score of 8.8 and is listed in the KEV catalog with a public proof of concept available.

The vulnerability arises from an overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) and a refresh token cookie set as SameSite=None. This allows a malicious webpage to perform cross-origin requests that include credentials, enabling it to call the refresh endpoint and obtain fresh access_token / refresh_token pairs. These tokens can then be used to access authenticated endpoints, including those with code-execution functionality, leading to full system compromise.

Compensating controls AI-drafted, review before use

Implement strict CORS policies and secure refresh token handling. Ensure that the 'Access-Control-Allow-Origin' header is set to specific origins and that the 'Access-Control-Allow-Credentials' header is set to 'false'. Additionally, configure the refresh token cookie with 'SameSite=Strict' and 'Secure' attributes.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2025-34291?

Langflow versions up to and including 1.6.9 are vulnerable to a chained attack that combines an overly permissive CORS configuration and insecure refresh token handling, leading to account takeover and remote code execution. This vulnerability has a CVSS score of 8.8 and is listed in the KEV catalog with a public proof of concept available.

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

CVE-2025-34291 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 14.5%.

Is CVE-2025-34291 actively exploited?

Yes. CVE-2025-34291 is in the CISA known-exploited catalog (added 2026-05-21). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2025-34291?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-34291?

CVE-2025-34291 affects Langflow Langflow.

What NERC-CIP standard applies to CVE-2025-34291?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to control systems through a web application, which could lead to the compromise of critical assets.

What IEC 62443 requirement maps to CVE-2025-34291?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a web application vulnerability that can be exploited to gain unauthorized access and execute arbitrary code, compromising the security of the industrial control system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Langflow","product":"Langflow","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.