# PYSEC-2026-4039: Impact djust's observability endpoints expose live view/session state and a remote method-invocation surface (eval\_handler)

- Database: PyPA
- Published: 2026-10-01
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-61590](https://cve.now/CVE-2026-61590.md): djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance

## Also published as

- [GHSA-8G2F-G3GQ-5RJV](https://cve.now/GHSA-8G2F-G3GQ-5RJV.md) (GitHub)

## Affected versions

- djust (PyPI): 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.

## References

- https://github.com/djust-org/djust/security/advisories/GHSA-8g2f-g3gq-5rjv
- https://github.com/djust-org/djust
- https://github.com/djust-org/djust/releases/tag/v1.0.7
- https://pypi.org/project/djust
- https://github.com/advisories/GHSA-8g2f-g3gq-5rjv
- https://nvd.nist.gov/vuln/detail/CVE-2026-61590

Page: https://cve.now/PYSEC-2026-4039

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
