ZeroHour

CVE-2026-61596

niche

Broken object-level access control (IDOR) in djust before 1.0.7

CVSS 3.1
7.1 high
EPSS
Published
()
Modified
AI analysis

djust, a Python (pip) live-view framework for Django, failed to enforce its per-object authorization checks (get_object plus has_object_permission, per ADR-017) on three render entry points: the initial HTTP GET render, SPA url_change navigation, and {% live_render %} embedded child views, even though those checks were correctly applied on the WebSocket mount and event paths. An authenticated user could trigger the flaw simply by loading an object-scoped page directly, navigating to it via SPA url-change, or composing it as an embedded live_render child, without ever passing through the authorized WebSocket paths. This yields a classic IDOR (CWE-639/CWE-862): the attacker gains read access to objects they are not authorized to see, and on some paths can also act on them. Only applications using djust versions before 1.0.7 with object-scoped views that define a custom get_object are affected; views without a custom get_object are unaffected. No public proof-of-concept is known, the flaw is not in CISA KEV, and no exploitation has been reported.

What to do: Upgrade to djust 1.0.7, which routes all render entry points through a shared enforce_object_permission chokepoint (HTTP GET returns 403, url_change emits a permission_denied frame, and live_render refuses the embed). Until patched, do not expose views that define a custom get_object through HTTP GET, SPA url_change, or {% live_render %} paths, and audit such views for object-level authorization bypass. There is no reliable workaround short of upgrading.

Affected
djustAll versions before 1.0.7 (fixed in 1.0.7)
Estimated exposure
nicheunknown; likely no more than a few thousand deployments given djust's early 1.x maturity as a newly released pip package — No public install or download statistics for djust are available in the data; as a recently introduced Django live-view library at version 1.0.x, its adoption is presumed small, and only apps using object-scoped views with a custom…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to version 1.0.7, djust's per-object authorization (`get_object` + `has_object_permission`, ADR-017) was enforced on the WebSocket mount and event paths but not on three other render entry points: (a) the initial HTTP GET render, (b) SPA `url_change` navigation, and (c) `{% live_render %}` embedded child views. An authenticated user could therefore view (and on some paths act on) an object they are not authorized for by loading the page directly, navigating to it via SPA url-change, or composing it as an embedded child — a classic IDOR / broken object-level access control on object-scoped views. This is fixed in djust 1.0.7. All render entry points now route through a shared `enforce_object_permission` chokepoint: HTTP GET returns 403, `url_change` emits a `permission_denied` frame and skips the render, and `{% live_render %}` (eager + lazy) refuses the embed. Views without a custom `get_object` are unaffected (no-op). No reliable workaround short of upgrading. Do not expose object-scoped views through the HTTP-GET / url_change / live_render paths until patched.

Ecosystems
pip
Weakness
CWE-639, CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
GHSA
GHSA-c7c5-5j6r-q957 (high)

In the news

No ingested article mentions this CVE yet.