Privilege Escalation Vulnerability in djust by djust-org
CVE-2026-61591
What is CVE-2026-61591?
The djust framework, which offers Phoenix LiveView-style reactive server-side rendering for Django, has a vulnerability in versions before 1.0.7. This flaw affects views that use state snapshots, allowing a client to modify the embedded state_json without any integrity checks. By manipulating this unsigned state_json, an attacker could inject arbitrary view attributes, leading to unauthorized privilege elevation—such as toggling is_admin to True or altering user-specific details like account_id or balance. This security issue has been addressed in version 1.0.7 by implementing signing for state snapshots, which now reject any unsigned or tampered snapshots during session restorations. Users are advised to avoid enabling state snapshots and not to include sensitive authorization details in publicly accessible view attributes.
Affected Version(s)
djust < 1.0.7
