GHSA-8g2f-g3gq-5rjv: High severity pip/djust vulnerability

Published Sep 16, 2026
·
Updated

Impact djust's observability endpoints expose live view/session state and a remote method-invocation surface (evalhandler). The localhost restriction was an opt-in middleware that the documented setup omits; the views themselves enforced only DEBUG. In the misconfigured-but-documented scenario (DEBUG on, middleware not installed) a non-localhost client could read live application state and invoke handlers remotely.

Patches Fixed in djust 1.0.7. The localhost restriction is enforced in-view on every observability endpoint (no longer dependent on a separately-installed middleware), and evalhandler is restricted; gated requests receive a non-disclosing response.

Workarounds Ensure DEBUG=False in production, and do not expose the observability endpoints to untrusted networks.

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
  3. Configuration

    Ensure DEBUG=False in production to prevent the misconfigured-but-documented scenario from exposing live view/session state and remote handler invocation.

    djust (production deployment) DEBUG = False
  4. Configuration

    Do not expose the observability endpoints to untrusted networks; access should be limited so only localhost requests can reach the endpoints (localhost restriction is enforced in-view in djust 1.0.7).

    djust observability endpoints network exposure = restricted
  5. Compensating control

    If any requests are possible from non-localhost clients, ensure eval_handler is not accessible to them; in djust 1.0.7, gated requests receive a non-disclosing response and eval_handler is restricted.

Event History

Sep 16, 2026
Advisory Published
via GitHub·01:49 PM
Data Sourced
via GitHub·01:49 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments with DEBUG enabled that expose djust observability endpoints to non-localhost or otherwise untrusted networks are exposed when the localhost-restriction middleware was not installed. The documented setup omitted that opt-in middleware.

2

What can a remote attacker do?

A non-localhost client can read live view and session state and invoke handlers through the eval_handler remote method-invocation surface. Exploitation does not require privileges or user interaction, but the attack complexity is rated high.

3

What version fixes the issue?

djust 1.0.7 fixes the issue. It enforces localhost restrictions within every observability view and restricts eval_handler.

4

What should be done if upgrading is not immediately possible?

Set DEBUG=False in production and ensure observability endpoints are not exposed to untrusted networks. This prevents the DEBUG-gated views from being accessible in the affected scenario.

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