# CVE-2026-61594: djust has an authorization bypass on the WebSocket/SSE mount path

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-09-16T21:58:05.000Z
- Modified: 2026-10-01T17:56:04.554Z
- Also known as: GHSA-xhhm-f6hp-2qwj, PYSEC-2026-4047
- Weaknesses: CWE-306, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- djust-org djust: < 1.0.7
- djust (PyPI): before 1.0.7

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/djust-org/djust/security/advisories/GHSA-xhhm-f6hp-2qwj> (web)
- <https://github.com/djust-org/djust/releases/tag/v1.0.7> (web)
- <https://github.com/djust-org/djust> (package)
- <https://pypi.org/project/djust> (package)
- <https://github.com/advisories/GHSA-xhhm-f6hp-2qwj> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61594> (advisory)

## Sources

- CVE List: [CVE-2026-61594](https://www.cve.org/CVERecord?id=CVE-2026-61594), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-xhhm-f6hp-2qwj](https://github.com/advisories/GHSA-xhhm-f6hp-2qwj), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-61594](https://nvd.nist.gov/vuln/detail/CVE-2026-61594), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-4047](https://osv.dev/vulnerability/PYSEC-2026-4047), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-61594 · Whole record: https://cve.day/CVE-2026-61594.json · Rebuilt by cve.day 2026-11-25T22:59:39.175Z
