GitHub Advisoryadvisory · PyPI

GHSA-8g2f-g3gq-5rjv djust's observability endpoints are network-exposed: the localhost gate is an opt-in middleware the docs omit, and the views enforce only DEBUG

HIGH Published 2026-09-16 Modified 2026-09-16 Official page ↗
Aliases
CVE-2026-61590
Ecosystem
PyPI
Packages
djust
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-306, CWE-668
Reviewed
2026-09-16

Affected packages

• PyPI djust: < 1.0.7 → fixed in 1.0.7

Description

Impact djust's observability endpoints expose live view/session state and a remote method-invocation surface (`eval_handler`). 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 `eval_handler` 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.

Related

Alias · CVE (1)

  • CVE-2026-61590 djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. vulnerability

Weakness · CWE (2)

  • CWE-306 Missing Authentication for Critical Functionality weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References