Authorization bypass in djust-org djust
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.
Summary
djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, the WebSocket `handle_mount` and `ViewRuntime._build_request` rebuild an `HttpRequest` via `RequestFactory().get(...)` with no `HTTP_HOST`, so `request.get_host()` defaulted to `"testserver"` on the live path. Host/subdomain/domain `TenantResolver`s then misresolved the tenant — `None` on the live path while the HTTP path resolved correctly. With `STRICT_MODE=False` the tenant-scoped managers returned unscoped rows (cross-tenant disclosure); with the default they returned an empty queryset (broken tenancy). This is fixed in djust 1.0.7. The handshake Host is extracted from the ASGI scope, validated against `ALLOWED_HOSTS` (the same logic as the CSWSH Origin gate, parsed with Django's `split_domain_port` so malformed Hosts are rejected at the boundary), and propagated — with the TLS scheme — into the reconstructed request, so live-path tenant resolution matches HTTP exactly. There is no known workaround on the live path short of upgrading. Users are most exposed when combined with `STRICT_MODE=False`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| djust-org | djust | before 1.0.7 | 1.0.7 | Patch available | CNA |
| — | djust (PyPI) | before 1.0.7 | 1.0.7 | Patch available | GHSA-v9rj-xjfv-xj9r |
- djust Vendordjust-org Affected before 1.0.7 Fixed in 1.0.7 Patch available CNA
- djust (PyPI) Vendor— Affected before 1.0.7 Fixed in 1.0.7 Patch available GHSA-v9rj-xjfv-xj9r
Remediation
- Fix · CNA djust (djust-org) Fixed in 1.0.7
- Fix · GHSA-v9rj-xjfv-xj9r djust (PyPI) Fixed in 1.0.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-61589
- 2026-10-03 Alias added: GHSA-v9rj-xjfv-xj9r
References
More djust-org vulnerabilities
- TI-2026-40112 Improper authorization in djust-org djust CVSS 3.1HIGH 8.2
- TI-2026-78534 Arbitrary file read in djust find_handlers_for_template MCP tool CVSS 3.1LOW 3.3
- TI-2026-44127 djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path CVSS 4.0HIGH 8.8
- TI-2026-44122 djust has an authorization bypass on the WebSocket/SSE mount path CVSS 3.1CRITICAL 9.1
- TI-2026-44121 Cross-site request forgery in djust-org djust CVSS 3.1HIGH 8.1
- TI-2026-44119 djust: Unsigned client state snapshot is restored as trusted view state (privilege escalation / state injection) CVSS 3.1HIGH 8.1
Sources
- CVE-2026-61589 · CVE Program
- CVE-2026-61589 · NVD
- FIRST EPSS
- GHSA-v9rj-xjfv-xj9r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences