CVE-2026-61594djust-org djust
Authentication bypass in djust WebSocket transport
Critical 9.1 No auth needed
Follow: this CVE · djust-org · djust-org djust We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 16, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
djust prior to version 1.0.7 bypasses Django authorization protections (LoginRequiredMixin, PermissionRequiredMixin, decorators) on the WebSocket transport, allowing anonymous or under-privileged users to mount protected views and dispatch their handlers. The vulnerability affects admin views and any view with HTTP-based authentication guards.
Show the original NVD text
djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, the live (WebSocket) transport authorizes a mount via `check_view_auth`, not Django's `View.dispatch()` chain. As a result, standard Django authorization — `LoginRequiredMixin`, `PermissionRequiredMixin`, `UserPassesTestMixin`, `@method_decorator(login_required, name="dispatch")`, and custom `dispatch()` guards — and the djust admin extension's staff gate (applied only in the HTTP `as_view` wrapper) were enforced on the initial HTTP GET but silently bypassed over WebSocket, where all events and state flow. An anonymous or under-privileged client could open a WebSocket and mount such a view — including admin list/create/change/delete — and dispatch its handlers. This is fixed in djust 1.0.7. `check_view_auth` now honors the Django `AccessMixin` family on every transport; a new system check S004 fails loud at startup on auth patterns the runtime cannot safely replay (decorator/overridden-`dispatch` forms); and the admin base mixin declares `login_required = True` + an active-staff `check_permissions` gate. As a workaround, gate views using djust's `login_required` / `permission_required` / `check_permissions` attributes (honored on all transports) rather than HTTP-only mixins/decorators.
What to do
Patch available · fixed versions: 1.0.7
Update djust to version 1.0.7 or later. As a temporary workaround, use djust's login_required, permission_required, or check_permissions attributes instead of Django mixins/decorators.
- Apply the vendor's security update for djust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | djust |
< 1.0.7 |
1.0.7 |
pip install "djust>=1.0.7" |
| PyPI | djust |
< 1.0.7 |
1.0.7 |
pip install "djust>=1.0.7" |
Per OSV / GitHub Advisories (GHSA-xhhm-f6hp-2qwj, PYSEC-2026-4047). Check the version in your lockfile before upgrading.
Affected products
- djust-org · djust
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.