High

djust: Unsigned client state snapshot is restored as trusted view state (privilege escalation / state injection)

  • Disclosed: 16.09.2026
  • Updated: 11.10.2026 15:18

Impact

For views that opt into state snapshots, the snapshot state_json embedded in the client page was restored on reconnect as trusted view state with no integrity check. A client could edit the unsigned state_json in their page and return it in the reconnect mount frame to inject arbitrary view attributes — e.g. flip is_admin to True, or change account_id / balance — escalating privilege or tampering with business state held in public view attributes (the normal djust pattern).

Patches

Fixed in djust 1.0.7. State snapshots are signed; unsigned or forged snapshots are rejected on the back-navigation restore path.

Workarounds

Do not enable state snapshots; do not hold authorization/ownership state in public view attributes.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) djust < 1.0.7 1.0.7

References

CVSS score 8.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-345, CWE-915
Platform
Python (PyPI)
Package
djust
Disclosed
16.09.2026
Updated
11.10.2026 15:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-4040 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-c67v-vqrp-m5wj - CC BY 4.0

Vulnerability history: djust

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (15) in the archive
Total entries
15
First → latest
08.2026 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 11
  • Medium 3

Disclosures per year

  1. 2026: 15
Severity:
  1. High · 7.1 CVE-2026-61596 < 1.0.7 1.0.7
  2. Critical · 9.1 CVE-2026-61594 < 1.0.7 1.0.7
  3. djust: Unsigned client state snapshot is restored as trusted view state (privilege escalation / state injection) this entry
    High · 8.1 CVE-2026-61591 < 1.0.7 1.0.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.