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.
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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypilangflow |
Corregida | 1.7.0 | 13 d | 1.13.2 no afectada |
1.7.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://www.obsidiansecurity.com/blog/cve-2025-34291-critical-account-takeover-and-rce-vulnerability-in-the-langflow-ai-agent-workflow-platformhttps://github.com/langflow-ai/langflowhttps://www.vulncheck.com/advisories/langflow-cors-misconfiguration-to-token-hijack-and-rceLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
