CVE-2026-55571
CVE-2026-55571 · djust authentication bypass: a login_required / on_mount LiveView mount redirect does not close the WebSocket, allowing an unauthenticated client to dispatch event-handler calls
Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to 1.0.4, LiveViewConsumer.handle_mount sends a `{"type":"navigate","to":...}` frame when login_required, permission_required, or a redirecting on_mount hook denies a LiveView mount, but returns without closing the WebSocket or clearing self.view_instance. A browser follows the redirect, but a raw WebSocket client can ignore it and retain the mounted socket. Because LiveViewConsumer.handle_event does not recheck authentication or authorization, the client can send `{"type":"event",...}` frames that invoke @event_handler methods without an authenticated session, including through handle_live_redirect_mount, enabling unauthorized sensitive reads or mutations. This issue is fixed in version 1.0.4.
CVSS 8.2 · Высокий · EPSS 0,5% · Есть исправление
- Опубликовано
- Обновлено
Стек: python
Затронутые продукты и версии
djust
- Версии
- < 1.0.4: Затронуто
Нет опубликованного исправления
djust PyPI
- Версии
- 0.1.0
- 0.1.2
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.2.1
- 0.2.2
- 0.3.0
- 0.3.1
- 0.3.2
- 0.3.4
- 0.3.5
- 0.3.6
- 0.3.7
- 0.3.8
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- 0.4.4
- 0.9.0
- 0.9.1
- 0.9.2
- 0.9.4
- 0.9.5
- 0.9.6
- 0.9.7
- 1.0.0
- 1.0.0rc1
- 1.0.0rc10
- 1.0.0rc11
- 1.0.0rc12
- 1.0.0rc13
- 1.0.0rc14
- 1.0.0rc15
- 1.0.0rc16
- 1.0.0rc17
- 1.0.0rc18
- 1.0.0rc2
- 1.0.0rc3
- 1.0.0rc4
- 1.0.0rc6
- 1.0.0rc7
- 1.0.0rc8
- 1.0.0rc9
- 1.0.1
- 1.0.1rc1
- 1.0.2
- 1.0.2rc1
- 1.0.2rc2
- 1.0.2rc3
- 1.0.3
- 1.0.3rc1
- 1.0.3rc2
- 1.0.4rc1
- Затронутые диапазоны версий
- ECOSYSTEM: < 1.0.4
Обновитесь до 1.0.4
Первоисточники
- https://github.com/djust-org/djust/security/advisories/GHSA-xx4j-w367-7247
- https://github.com/djust-org/djust/pull/1780
- https://github.com/djust-org/djust/commit/1ae8aa9246b80477de7ddc4d90319a3b267bef04
- https://github.com/djust-org/djust/releases/tag/v1.0.4
- https://nvd.nist.gov/vuln/detail/CVE-2026-55571