Skip to content

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

HighCVSS 8.2 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi djust(PyPI) < 1.0.4; = 0.1.0; = 0.1.2; = 0.1.3 +57 more 1.0.4 Fixed
djust-org djust = < 1.0.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi djust(PyPI) < 1.0.4 1.0.4
pypi djust(PyPI) = 0.1.0 No fix listed
pypi djust(PyPI) = 0.1.2 No fix listed
pypi djust(PyPI) = 0.1.3 No fix listed
pypi djust(PyPI) = 0.1.4 No fix listed
pypi djust(PyPI) = 0.1.5 No fix listed
pypi djust(PyPI) = 0.1.6 No fix listed
pypi djust(PyPI) = 0.1.7 No fix listed
pypi djust(PyPI) = 0.1.8 No fix listed
pypi djust(PyPI) = 0.1.9 No fix listed
pypi djust(PyPI) = 0.2.0 No fix listed
pypi djust(PyPI) = 0.2.1 No fix listed
pypi djust(PyPI) = 0.2.2 No fix listed
pypi djust(PyPI) = 0.3.0 No fix listed
pypi djust(PyPI) = 0.3.1 No fix listed
pypi djust(PyPI) = 0.3.2 No fix listed
pypi djust(PyPI) = 0.3.4 No fix listed
pypi djust(PyPI) = 0.3.5 No fix listed
pypi djust(PyPI) = 0.3.6 No fix listed
pypi djust(PyPI) = 0.3.7 No fix listed
pypi djust(PyPI) = 0.3.8 No fix listed
pypi djust(PyPI) = 0.4.0 No fix listed
pypi djust(PyPI) = 0.4.1 No fix listed
pypi djust(PyPI) = 0.4.2 No fix listed
pypi djust(PyPI) = 0.4.3 No fix listed
Show 37 more
ProductAffected versionsFixed in
pypi djust(PyPI) = 0.4.4 No fix listed
pypi djust(PyPI) = 0.9.0 No fix listed
pypi djust(PyPI) = 0.9.1 No fix listed
pypi djust(PyPI) = 0.9.2 No fix listed
pypi djust(PyPI) = 0.9.4 No fix listed
pypi djust(PyPI) = 0.9.5 No fix listed
pypi djust(PyPI) = 0.9.6 No fix listed
pypi djust(PyPI) = 0.9.7 No fix listed
pypi djust(PyPI) = 1.0.0 No fix listed
pypi djust(PyPI) = 1.0.0rc1 No fix listed
pypi djust(PyPI) = 1.0.0rc10 No fix listed
pypi djust(PyPI) = 1.0.0rc11 No fix listed
pypi djust(PyPI) = 1.0.0rc12 No fix listed
pypi djust(PyPI) = 1.0.0rc13 No fix listed
pypi djust(PyPI) = 1.0.0rc14 No fix listed
pypi djust(PyPI) = 1.0.0rc15 No fix listed
pypi djust(PyPI) = 1.0.0rc16 No fix listed
pypi djust(PyPI) = 1.0.0rc17 No fix listed
pypi djust(PyPI) = 1.0.0rc18 No fix listed
pypi djust(PyPI) = 1.0.0rc2 No fix listed
pypi djust(PyPI) = 1.0.0rc3 No fix listed
pypi djust(PyPI) = 1.0.0rc4 No fix listed
pypi djust(PyPI) = 1.0.0rc6 No fix listed
pypi djust(PyPI) = 1.0.0rc7 No fix listed
pypi djust(PyPI) = 1.0.0rc8 No fix listed
pypi djust(PyPI) = 1.0.0rc9 No fix listed
pypi djust(PyPI) = 1.0.1 No fix listed
pypi djust(PyPI) = 1.0.1rc1 No fix listed
pypi djust(PyPI) = 1.0.2 No fix listed
pypi djust(PyPI) = 1.0.2rc1 No fix listed
pypi djust(PyPI) = 1.0.2rc2 No fix listed
pypi djust(PyPI) = 1.0.2rc3 No fix listed
pypi djust(PyPI) = 1.0.3 No fix listed
pypi djust(PyPI) = 1.0.3rc1 No fix listed
pypi djust(PyPI) = 1.0.3rc2 No fix listed
pypi djust(PyPI) = 1.0.4rc1 No fix listed
djust-org djust = < 1.0.4 No fix listed

References