CVE-2026-61590: djust's observability endpoints are network-exposed: the localhost gate is an opt-in middleware the docs omit, and the views enforce only DEBUG

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.

Other sources

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, 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. This issue is 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. As a workaround, ensure DEBUG=False in production, and do not expose the observability endpoints to untrusted networks.

MITRE

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

    Set DEBUG=False in production to reduce exposure of djust observability endpoints and related handler surfaces.

    djust (production deployment) DEBUG = False
  4. Compensating control

    Do not expose djust observability endpoints to untrusted networks (only allow trusted network access).

Event History

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

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using djust with DEBUG enabled and without the opt-in localhost-restriction middleware are exposed if their observability endpoints are reachable by non-localhost clients. This matches the documented setup described in the advisory.

2

What can an unauthenticated 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 requires network access to the exposed observability endpoints; no privileges or user interaction are indicated.

3

Does upgrading remove the middleware dependency?

Yes. djust 1.0.7 enforces the localhost restriction within every observability view rather than relying on separately installed middleware, and it restricts eval_handler.

4

What should be done if an immediate upgrade is not possible?

Set DEBUG=False in production and ensure observability endpoints are not exposed to untrusted networks. These measures address the conditions that allow non-localhost access.

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