9.4criticalExploited
Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE
- Severity
- 9.4critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 14.5% (higher than 97% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-577h-p2hh-v4mvPYSEC-2025-78
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Langflow Langflow | up to 1.6.9 | CVE List, NVD, CISA KEV |
| langflow (PyPI) | before 1.7.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 9.4critical CVSS:4.0 | 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 |
| GitHub | 8.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | 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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Langflow versiones hasta e incluyendo 1.6.9 contienen una vulnerabilidad encadenada que permite la toma de control de cuentas y la ejecución remota de código. Una configuración CORS excesivamente permisiva (allow_origins='*' con allow_credentials=True) combinada con una cookie de token de actualización configurada como SameSite=None permite a una página web maliciosa realizar solicitudes de origen cruzado que incluyen credenciales y llamar exitosamente al endpoint de actualización. Un origen controlado por el atacante puede, por lo tanto, obtener nuevos pares de access_token / refresh_token para una sesión de la víctima. Los tokens obtenidos permiten el acceso a endpoints autenticados - incluyendo funcionalidad de ejecución de código incorporada - permitiendo al atacante ejecutar código arbitrario y lograr un compromiso total del sistema.
CISA KEV
Langflow contains an origin validation error vulnerability in which an overly permissive CORS configuration 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. This could allow the attacker to execute arbitrary code and achieve full system compromise via obtained tokens that permit access to authenticated endpoints.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34291 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-577h-p2hh-v4mv changed 2026-05-29 | CC-BY-4.0 |
| NVD | CVE-2025-34291 changed 2026-10-15 | Public domain |
| PyPA Advisory Database | PYSEC-2025-78 changed 2026-06-10 | CC-BY-4.0 |
| CISA KEV | CVE-2025-34291 changed 2026-05-21 | CC0-1.0 |