# CVE-2026-61591: djust: Unsigned client state snapshot is restored as trusted view state (privilege escalation / state injection)

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-09-16T21:56:12.000Z
- Modified: 2026-10-01T17:55:55.790Z
- Also known as: GHSA-c67v-vqrp-m5wj, PYSEC-2026-4040
- Weaknesses: CWE-345, CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, 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). This issue is fixed in djust 1.0.7. State snapshots are signed; unsigned or forged snapshots are rejected on the back-navigation restore path. As a workaround, do not enable state snapshots; do not hold authorization/ownership state in public view attributes.

(As written by CVE List.)

## Affected

- djust-org djust: < 1.0.7
- djust (PyPI): before 1.0.7

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/djust-org/djust/security/advisories/GHSA-c67v-vqrp-m5wj> (web)
- <https://github.com/djust-org/djust/releases/tag/v1.0.7> (web)
- <https://github.com/djust-org/djust> (package)
- <https://pypi.org/project/djust> (package)
- <https://github.com/advisories/GHSA-c67v-vqrp-m5wj> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61591> (advisory)

## Sources

- CVE List: [CVE-2026-61591](https://www.cve.org/CVERecord?id=CVE-2026-61591), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-c67v-vqrp-m5wj](https://github.com/advisories/GHSA-c67v-vqrp-m5wj), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-61591](https://nvd.nist.gov/vuln/detail/CVE-2026-61591), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-4040](https://osv.dev/vulnerability/PYSEC-2026-4040), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-61591 · Whole record: https://cve.day/CVE-2026-61591.json · Rebuilt by cve.day 2026-11-25T22:59:39.174Z
