Langflow < 1.7.0 Account Takeover

critical Web App Scanning Plugin ID 115252

Synopsis

Langflow < 1.7.0 Account Takeover

Description

According to its banner, the version of Langflow running on the remote host is prior to 1.7.0. It is, therefore, affected by an account takeover vulnerability. An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with refresh tokens issued with SameSite=None allows a malicious webpage visited by an authenticated user to issue cross-origin requests, steal authentication tokens, and abuse the built-in code execution endpoint to achieve remote code execution and complete system compromise.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Langflow version 1.7.0 or later.

See Also

https://github.com/advisories/GHSA-577h-p2hh-v4mv

Plugin Details

Severity: Critical

ID: 115252

Type: Version Based

Published: 5/28/2026

Updated: 5/28/2026

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-34291

CVSS v3

Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2025-34291

CVSS v4

Risk Factor: Critical

Base Score: 9.4

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

CVSS Score Source: CVE-2025-34291

Vulnerability Information

CPE: cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 12/4/2025

CISA Known Exploited Vulnerability Due Dates: 6/4/2026

Reference Information

CVE: CVE-2025-34291