llamaCVEVulnerability Intelligence
/
Langflow

CVE-2025-34291

Langflow code execution via CORS misconfiguration

A malicious website can steal logged-in users' session tokens to take over accounts and run code on the server.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Explotación activaParche disponible
Descargar PNG JSON
CVSS 4.0
9.4
Crítica
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 Fuente: CNA
8.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ExplotaciónActivaEn CISA KEV desde 21 may 2026
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 13 d de la divulgación
Exposición348 dDesde la divulgación, 5 dic 2025, 5:27 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Explotación activa, no automatizable e impacto técnico total. Plazo KEV: 4 jun 2026.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 1.7.0
Plazo KEV
Monitoreo
Detectada
Verificada
5 dic 25
18 dic 25
21 may 26
4 jun 26
8 oct 26
22 oct 26
12 nov 26
19 nov 26
5 dic 25
3 mar 26
29 may 26
24 ago 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2025-34291 divulgada · CVSS 9.4 (CNA)
Remediación Parche 1.7.0 langflow · 13 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación activa
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 11 nov 2026

Langflow has an overly permissive cross-origin configuration that lets an attacker's malicious webpage steal fresh login tokens from a victim's session, take over the account, and run arbitrary code on the server. It can be reached remotely without logging in, but the victim must visit the attacker's page, and attacks using this flaw are happening.

Affects Langflow 1.6.9 and earlier, where CORS allows any origin with credentials and the refresh token cookie is SameSite=None. Fixed in 1.7.0.

¿Qué significa?Langflow's CORS setup allows any origin with credentials, and its refresh token cookie is SameSite=None. A malicious webpage can use this to obtain fresh access and refresh tokens for a victim's session and take over the account. The tokens also reach built-in code execution, which allows arbitrary code to run and can fully compromise the system.
¿Quién está afectado?Langflow versions up to and including 1.6.9 are affected. The advisory describes the problem as CORS configured with allow_origins='*' and allow_credentials=True, combined with a refresh token cookie set to SameSite=None. A reader can check the installed Langflow version and look at those CORS and cookie settings.
¿Qué hacer?Upgrade Langflow to 1.7.0 or later, which is listed as the first version outside the affected range. The facts name no workaround.
Descripción original del registro

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Langflow version 1.6.9 or earlier“Langflow versions up to and including 1.6.9 contain a chained vulnerability”
02
CORS allows any origin with credentials, and the refresh token cookie is SameSite=None“An overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) combined with a refresh token cookie configured as SameSite=None”
¿Quién debe revisar?Teams running Langflow 1.6.9 or earlier, including default deployments, where users' browsers can reach the instance with session cookies.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
Langflow≤ 1.6.9
langflow< 1.7.0
1.6.9
1.7.0
1.13.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilangflow
Corregida 1.7.0 13 d 1.13.2 no afectada
Versiones corregidas1.7.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Exploithttps://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platform
Otrahttps://github.com/langflow-ai/langflow
Otrahttps://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rce

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.