GHSA-v9rj-xjfv-xj9r: Medium severity pip/djust vulnerability

Published Sep 16, 2026
·
Updated

Impact The WebSocket handlemount and ViewRuntime.buildrequest rebuild an HttpRequest via RequestFactory().get(...) with no HTTPHOST, so request.gethost() 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 STRICTMODE=False the tenant-scoped managers returned unscoped rows (cross-tenant disclosure); with the default they returned an empty queryset (broken tenancy).

Patches Fixed in djust 1.0.7. The handshake Host is extracted from the ASGI scope, validated against ALLOWEDHOSTS (the same logic as the CSWSH Origin gate, parsed with Django's splitdomainport 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.

Workarounds No workaround on the live path short of upgrading. Most exposed when combined with STRICTMODE=False.

Affected Software

1 affected componentFixes available
pip/djust<1.0.7
1.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/djust to a version that resolves this vulnerability.

    Fixed in 1.0.7
  2. Upgrade

    Upgrade djust to a version that resolves this vulnerability.

    Fixed in 1.0.7

Event History

Sep 16, 2026
Advisory Published
via GitHub·10:07 PM
Data Sourced
via GitHub·10:07 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are most exposed to cross-tenant data disclosure?

Deployments using WebSocket live paths with host, subdomain, or domain-based TenantResolvers are affected by the tenant misresolution. Exposure is greatest when STRICT_MODE=False, because tenant-scoped managers can return unscoped rows.

2

Does the default STRICT_MODE setting expose tenant data?

With the default strict mode, the affected live path returns an empty queryset rather than unscoped tenant data. This causes broken tenancy, while STRICT_MODE=False can result in cross-tenant disclosure.

3

What does an attacker need to exploit the issue?

The supplied severity vector indicates network access, low privileges, no user interaction, and high confidentiality impact. Exploitation applies to the affected WebSocket live path where tenant resolution depends on the request host.

4

What can be done if an upgrade cannot be applied immediately?

There is no workaround for the live path short of upgrading. The issue is fixed in djust 1.0.7; deployments using STRICT_MODE=False should be prioritized.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203