Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. djust
  4. ›
  5. CVE-2026-61595

CVE-2026-61595: djust: Multi-tenant isolation fails open on the WebSocket/SSE path, disclosing other tenants' data

September 16, 2026

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.

References

  • github.com/advisories/GHSA-3492-cvg7-9mr2
  • github.com/djust-org/djust/releases/tag/v1.0.7
  • github.com/djust-org/djust/security/advisories/GHSA-3492-cvg7-9mr2
  • nvd.nist.gov/vuln/detail/CVE-2026-61595

Code Behaviors & Features

Detect and mitigate CVE-2026-61595 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.7

Fixed versions

  • 1.0.7

Solution

Upgrade to version 1.0.7 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-636: Not Failing Securely ('Failing Open')
  • CWE-862: Missing Authorization

Source file

pypi/djust/CVE-2026-61595.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:08 +0000.