CVE-2026-61595: djust Multi-tenant Isolation Fails Open On Vulnerability
HIGHCVE-2026-61595 is a HIGH (CVSS 7.7) multi-tenant isolation fails open on vulnerability (CWE-862: Missing Authorization) affecting djust libraries in the PyPI ecosystem. The issue involves multi-tenant isolation fails open on the websocket/sse path, disclosing other tenants' data. Remediation is available by upgrading affected packages to version 1.0.7.
CVE-2026-61595 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-61595
To remediate this vulnerability, upgrade all affected djust dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install djust>=1.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show djust
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-61595, inspect your installed packages using pip:
pip show djust
Analyze the terminal output to locate any version of djust in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.7), your application is affected.
Note: The pip show djust command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In djust, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-61595 Affected djust Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
djust
|
PyPI |
< 1.0.7
|
1.0.7
|
References
Frequently Asked Questions
What is CVE-2026-61595?
Which djust versions are affected?
What version fixes CVE-2026-61595?
Is djust affected?
What is the CVSS score of CVE-2026-61595?
What CWE is associated with CVE-2026-61595?
How can I check PyPI dependencies for CVE-2026-61595?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3492-cvg7-9mr2",
"modified" : "2026-09-16T15:32:10Z",
"published" : "2026-09-16T15:32:10Z",
"aliases" : [ "CVE-2026-61595" ],
"summary" : "djust: Multi-tenant isolation fails open on the WebSocket/SSE path, disclosing other tenants' data",
"details" : "### Impact\n`djust.tenants` isolation was enforced only on the HTTP path. The current tenant was stored in `threading.local()` and set exclusively by the HTTP-only `TenantMiddleware`, so on the live (WebSocket/SSE) path `get_current_tenant()` was always `None` during mount and every event handler — and the tenant-aware `QuerySet` manager failed **OPEN** (returned the unfiltered queryset, ignoring `STRICT_MODE`), disclosing **every** tenant's rows to whoever held the socket. `threading.local` was additionally shared across connections on the `sync_to_async` executor thread.\n\n### Patches\nFixed in **djust 1.0.7**. Tenant storage moved to a `contextvars.ContextVar` (per async task); the resolved tenant is bound around WS/SSE mount and every dispatch; both managers scope the base queryset once and fail **CLOSED** (`.none()` under the default `STRICT_MODE`); and system check **S006** warns when `STRICT_MODE=False`.\n\n### Workarounds\nNo workaround on the live path short of upgrading.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "djust"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/djust-org/djust/security/advisories/GHSA-3492-cvg7-9mr2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/djust-org/djust"
}, {
"type" : "WEB",
"url" : "https://github.com/djust-org/djust/releases/tag/v1.0.7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-636", "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-16T15:32:10Z",
"nvd_published_at" : null
}
}