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

CVE-2026-61589: djust: WebSocket/runtime reconstructed request omits the client Host, causing host/subdomain TenantResolvers to misresolve the tenant on the live path

September 16, 2026

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 TenantResolvers 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).

References

  • github.com/advisories/GHSA-v9rj-xjfv-xj9r
  • github.com/djust-org/djust/releases/tag/v1.0.7
  • github.com/djust-org/djust/security/advisories/GHSA-v9rj-xjfv-xj9r
  • nvd.nist.gov/vuln/detail/CVE-2026-61589

Code Behaviors & Features

Detect and mitigate CVE-2026-61589 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 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-348: Use of Less Trusted Source
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/djust/CVE-2026-61589.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:21:34 +0000.