6.1medium
Langflow: Logout button does not clear session
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 11% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7hw8-6q6r-4276PYSEC-2026-222
Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.7.0, the logout button does not clear the session. The previous user stays logged in unless another user explicitly logs in. This vulnerability is fixed in 1.7.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| langflow-ai langflow | < 1.7.0 | CVE List |
| langflow (PyPI) | before 1.7.0 | GitHub Advisory Database, PyPA Advisory Database |
| langflow langflow | before 1.7.0 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | 6.1medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.7.0, the logout button does not clear the session. The previous user stays logged in unless another user explicitly logs in. This vulnerability is fixed in 1.7.0.
GitHub Advisory Database
Summary
The logout button does not clear the session. The previous user stays logged in unless another user explicitly logs in.
Details
Not in auto login mode. Hosted on localhost. access_token_lf remains present in both Local Storage and Cookies. refresh_token_lf remains present in Cookies.
Root cause: the /logout endpoint deleted the authentication cookies without matching the original httponly/samesite/secure/domain parameters, so the browser kept them; additionally the frontend did not clear the auth cookies on logout.
LANGFLOW_AUTO_LOGIN: "False"
LANGFLOW_SUPERUSER: <set>
LANGFLOW_SUPERUSER_PASSWORD: <set>
LANGFLOW_SECRET_KEY: <set>
LANGFLOW_NEW_USER_IS_ACTIVE: "False"
LANGFLOW_ENABLE_SUPERUSER_CLI: "False"
PoC
Click Logout. Hit refresh to return to previous screen.
Impact
Users on shared computers may falsely believe they have terminated their session.
Patches
Fixed in 1.7.0 (PRs #10527 and #10528). The logout endpoint now deletes the auth cookies using the same parameters they were created with, and the frontend clears the auth cookies on logout. Upgrade to 1.7.0 or later.
NVD (es)
Langflow es una herramienta para construir y desplegar agentes y flujos de trabajo impulsados por IA. Antes de la versión 1.7.0, el botón de cerrar sesión no borra la sesión. El usuario anterior permanece conectado a menos que otro usuario inicie sesión explícitamente. Esta vulnerabilidad se corrige en la versión 1.7.0.
References
| https://github.com/langflow-ai/langflow/security/advisories/GHSA-7hw8-6q6r-4276 | exploit, fix, patch, vendor-advisory, web | |
| https://github.com/langflow-ai/langflow/pull/10527 | fix, issue-tracking, patch, web | |
| https://github.com/langflow-ai/langflow/pull/10528 | exploit, issue-tracking, report, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-55423 | advisory | |
| https://github.com/langflow-ai/langflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-222.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55423 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7hw8-6q6r-4276 changed 2026-09-24 | CC-BY-4.0 |
| NVD | CVE-2026-55423 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-222 changed 2026-06-26 | CC-BY-4.0 |