Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7hw8-6q6r-4276

Опубликовано: 19 июн. 2026
Источник: github
Github: Прошло ревью
CVSS3: 6.1

Описание

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.

Пакеты

Наименование

langflow

pip
Затронутые версииВерсия исправления

< 1.7.0

1.7.1

EPSS

Процентиль: 13%
0.00222
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-613

Связанные уязвимости

CVSS3: 6.1
nvd
3 месяца назад

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.

EPSS

Процентиль: 13%
0.00222
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-613