{"cve":"CVE-2026-61598","nvd":{"published":"2026-09-16T14:17:06.827","modified":"2026-09-30T17:51:56.193","status":"Deferred","description":"djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, `djust.mixins.model_binding.ModelBindingMixin` provides a default `update_model` event handler and is part of the LiveView base MRO, so every LiveView exposes it. It `setattr`s a view attribute whose name is client-supplied (`field`), gated only by: reject `_`-prefixed names; reject a 14-entry denylist of framework internals (`FORBIDDEN_MODEL_FIELDS`); optional `allowed_model_fields` which defaults to None = allow all; and `hasattr` existence. As a result, a client can set any public, existing view attribute — not just the fields actually bound with `dj-model=` in the rendered template. The denylist covers framework plumbing but nothing about developer business/authz state, and the allowlist is opt-in (off by default). A developer who binds one `dj-model=\"search\"` input and also keeps `self.account_id` / `self.is_admin` / `self.total_price` as view state does not realize a client can set ALL of them via `{type:event, event:\"update_model\", params:{field, value}}` over the WebSocket. Type coercion matches the target attribute's type (so `\"true\"` -> bool True), aiding the attacker. This issue is fixed in djust 1.0.7. As a workaround, set `allowed_model_fields` explicitly on every view using dj-model (or subclassing LiveView) to the minimal list of bindable fields; do not keep authorization/ownership state in public view attributes that share the view with dj-model bindings.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1},"cvss_v3":null,"cwes":["CWE-915"],"references":["https://github.com/djust-org/djust/releases/tag/v1.0.7","https://github.com/djust-org/djust/security/advisories/GHSA-cc7c-9jff-58wj"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:54:41.405518556+00:00"},"epss":{"cve":"CVE-2026-61598","score":0.00429,"percentile":0.36875,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-cc7c-9jff-58wj","url":"https://osv.dev/vulnerability/GHSA-cc7c-9jff-58wj","summary":"djust: Client mass-assignment of arbitrary view attributes via the default dj-model update_model handler","modified":"2026-10-01T17:55:38.938962299Z","packages":[{"ecosystem":"PyPI","name":"djust","purl":"pkg:pypi/djust","ranges":["<1.0.7"],"fixed":["1.0.7"]}]},{"id":"PYSEC-2026-4042","url":"https://osv.dev/vulnerability/PYSEC-2026-4042","summary":"djust: Client mass-assignment of arbitrary view attributes via the default dj-model update_model handler","modified":"2026-10-01T17:45:02.057463300Z","packages":[{"ecosystem":"PyPI","name":"djust","purl":"pkg:pypi/djust","ranges":["<1.0.7"],"fixed":["1.0.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}