Vulnerability · Published Aug 25, 2026 · Assigned by GitHub_M
CVE-2026-55571djust authentication bypass: a login_required / on_mount LiveView mount redirect does not close the WebSocket, allowing an unauthenticated client to dispatch event-handler calls
High 8.2
In plain English
A high-severity missing authentication in djust from djust-org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | djust | 1.0.4 | GHSA-xx4j-w367-7247 |
| PyPI | djust | 1.0.4 | PYSEC-2026-3829 |
Affected products (as reported)
Weakness: CWE-285, CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
References
- https://github.com/djust-org/djust/security/advisories/GHSA-xx4j-w367-7247 x_refsource_CONFIRM
- https://github.com/djust-org/djust/pull/1780 x_refsource_MISC
- https://github.com/djust-org/djust/commit/1ae8aa9246b80477de7ddc4d90319a3b267bef04 x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.0.4 x_refsource_MISC