Advisory

GHSA-8g2f-g3gq-5rjv

Also known as: CVE-2026-61590, PYSEC-2026-4039

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-16 13:49 UTC
Modified
2026-10-01 17:55 UTC

Affected packages and fixes

djust

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.7 (ecosystem)

Fixed versions

1.0.7

Fix

  • Fixed version 1.0.7
    pip install --upgrade djust==1.0.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences