Langflow: Logout button does not clear session
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | langflow | < 1.7.0 | 1.7.0 |
Verweise
- https://github.com/langflow-ai/langflow/pull/10528
- https://github.com/langflow-ai/langflow/pull/10527
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7hw8-6q6r-4276
- https://nvd.nist.gov/vuln/detail/CVE-2026-55423
- https://github.com/langflow-ai/langflow
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-222.yaml
- CVSS-Vektor
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-613- Plattform
- Python (PyPI)
- Paket
langflow- Veröffentlicht
- 19.06.2026
- Aktualisiert
- 11.10.2026 15:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-222 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-7hw8-6q6r-4276 - CC BY 4.0
Schwachstellenhistorie: langflow
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 42
- Erste → letzte
- 06.2024 10.2026
- Ohne Fix
- 7
- In Angriffen ausgenutzt
- 5
Verteilung nach Schweregrad
- Kritisch 15
- Hoch 17
- Mittel 7
- Niedrig 3
Veröffentlichungen pro Jahr
- 2024: 4
- 2025: 5
- 2026: 33
-
Langflow: Logout button does not clear session dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.