SCA: security update for langflow (GHSA-577h-p2hh-v4mv)

critical Tenable Cloud Security Plugin ID 442495

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-34291)

Solution

Update the langflow library and its related packages to version 1.7.0 or later.

See Also

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

Plugin Details

Severity: Critical

ID: 442495

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 5/30/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.9

Percentile: 99.36

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.4

Threat Score: 9.4

Threat Vector: CVSS:4.0/E:A

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/6/2025

Vulnerability Publication Date: 12/5/2025

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

Reference Information

CVE: CVE-2025-34291

cwe: CWE-346