CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-61596

CVE-2026-61596: Broken Object-Level Access Control (IDOR) in djust Framework

Alon Barad
Alon Barad
Software Engineer

Sep 17, 2026·5 min read·18 visits

Executive Summary (TL;DR)

The djust framework omitted authorization checks on non-WebSocket rendering paths, allowing authenticated users to bypass object-level permissions and access sensitive records.

A broken object-level access control (IDOR) vulnerability exists in the djust Django framework prior to version 1.0.7. The framework's per-object authorization hooks were enforced correctly over WebSockets but entirely bypassed on synchronous HTTP GET rendering, SPA client-side navigation, and embedded sub-views, allowing authenticated attackers to view arbitrary unauthorized database records.

Vulnerability Overview

The djust Django framework provides reactive server-side rendering using a Rust-powered backend. It aims to deliver Phoenix LiveView-style reactivity inside Python environments. Prior to version 1.0.7, the framework contained an Insecure Direct Object Reference (IDOR) vulnerability identified as CVE-2026-61596.

This vulnerability allowed authenticated users to bypass object-level access controls. While permission checks were correctly executed over active WebSocket channels, they were completely omitted on several alternative rendering pathways. This architectural oversight exposed sensitive data to unauthorized requests.

Root Cause Analysis

The djust framework implements object-level authorization using the get_object and has_object_permission methods on views. This approach relies on fetching a database record and verifying that the requesting user possesses authorization to interact with that specific record.

In affected versions, these checks were restricted to the active WebSocket consumer lifecycle, specifically within the mount and event dispatch handlers. This design assumed all interaction would occur over persistent WebSocket connections. However, the framework exposes other pathways that render views without initializing a WebSocket session.

Three key paths bypassed these checks: synchronous HTTP GET rendering via RequestMixin.get and aget, client-side Single Page Application (SPA) navigation using ViewRuntime.dispatch_url_change, and embedded sub-views rendered with {% live_render %} template tags. Because these entry points lacked authorization validation, they fetched and displayed target objects without verifying the user's permissions.

The structural breakdown of this bypass can be represented as follows:

Code Analysis and Resolution

To resolve this vulnerability, version 1.0.7 introduced a consolidated authorization pipeline. The core authorization logic is centralized in the djust.auth.core.enforce_object_permission function, creating a single chokepoint for all rendering paths.

The updated implementation performs checks dynamically and fails closed by default. Below is a comparison demonstrating how the framework enforces access control during rendering:

# Affected Version (Simplified Behavior)
def render_http(request, view):
    # Vulnerable: Directly retrieves the object and renders the template
    # without calling has_object_permission checks.
    obj = view.get_object()
    return render(request, view.template_name, {"object": obj})
 
# Patched Version (Simplified Behavior)
from djust.auth.core import enforce_object_permission
from django.core.exceptions import PermissionDenied
 
def render_http(request, view):
    try:
        # Secure: The unified authorization chokepoint is evaluated first
        enforce_object_permission(request, view)
        obj = view.get_object()
        return render(request, view.template_name, {"object": obj})
    except PermissionDenied:
        # Handles unauthorized access gracefully by returning a 403 Forbidden response
        return HttpResponseForbidden("Permission Denied")

By routing the initial HTTP render, the SPA route changes, and the embedded views through enforce_object_permission, the framework blocks unauthorized rendering at the earliest stage of execution.

Exploitation Methodology

An attacker can exploit this IDOR vulnerability by targeting any of the three un-gated rendering pathways. No sophisticated payloads are required to trigger the bug, as it relies on standard browser navigation or manipulated API calls.

In a direct HTTP GET attack, an attacker with low-privileged credentials can identify a target URL containing an object identifier, such as /reports/99812/. By requesting this URL directly through a browser or using a command-line tool, the attacker bypasses the WebSocket connection entirely:

curl -H "Cookie: sessionid=<attacker_session_cookie>" https://example.com/reports/99812/

Because the server does not enforce has_object_permission on the synchronous HTTP GET path, it processes the request, retrieves the record from the database, and returns the fully rendered HTML page containing the unauthorized object's data to the attacker's console.

Similar bypasses occur when executing client-side routing changes within the SPA context. Manipulating the URL state prompts the backend to dispatch a url_change event, which executes without access checks and returns the sensitive state data.

Impact Assessment

The vulnerability has a High severity rating, primarily affecting confidentiality. Because of the missing access controls, any authenticated user can read arbitrary database records managed by the affected views simply by enumerating or predicting object identifiers.

While the primary impact is unauthorized information disclosure, there is a minor risk to integrity depending on the exposed templates. If the rendered DOM contains actionable forms or input elements that execute without further authorization checks, unauthorized users might manipulate state variables.

The CVSS v3.1 vector string is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N, leading to a base score of 7.1. This indicates low complexity, requiring low privilege levels, and posing no threat to system availability.

Remediation and Detection

The recommended remediation strategy is to upgrade djust to version 1.0.7 or later, which incorporates the centralized authorization architecture.

Administrators can update their installations using pip:

pip install --upgrade djust

If patching cannot be performed immediately, developers must implement manual authorization checks within custom dispatch or HTTP lifecycle hooks for all views utilizing get_object. Additionally, developers should write regression tests targeting the alternative rendering pathways to ensure permission coverage remains intact.

Technical Appendix

CVSS Score
7.1/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected Systems

djust framework
AttributeDetail
CWE IDCWE-639, CWE-862
Attack VectorNetwork
CVSS v3.1 Score7.1
EPSS ScoreN/A
ImpactHigh (Confidentiality)
Exploit StatusNone
CISA KEV StatusNot Listed
CWE-639
Authorization Bypass Through User-Controlled Key

Vulnerability Timeline

Version 1.0.7 fix released to address render-path permission bypass
2026-06-22
Official Security Advisory GHSA-c7c5-5j6r-q957 and CVE-2026-61596 published
2026-09-16

References & Sources

  • [1]GitHub Security Advisory GHSA-c7c5-5j6r-q957
  • [2]djust v1.0.7 Release Notes

More Reports

•16 minutes ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 1 hour ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
2 views•10 min read
•about 2 hours ago•GHSA-47W9-6R3F-938G
9.9

GHSA-47w9-6r3f-938g: Authorization Bypass and Host Root Command Execution in Canonical LXD and Incus

A missing authorization and configuration validation vulnerability in Canonical LXD and LXC Incus allows authenticated users within restricted projects to bypass project security boundaries. By smuggling prohibited low-level configuration directives (such as raw.lxc or raw.qemu) inside instance snapshots or backup archives, an attacker can restore these configurations within a restricted project and execute arbitrary commands with root privileges on the underlying host operating system.

Alon Barad
Alon Barad
4 views•11 min read
•about 3 hours ago•GHSA-JPF8-86F3-WP38
9.9

CVE-2026-48752: Arbitrary Host File Read and Write via Templates Symlink in Canonical LXD and Incus

A symbolic link traversal vulnerability (CWE-59) in Canonical LXD and Linux Containers Incus allows an authenticated user with image import permissions to read and write arbitrary files on the host filesystem. During image archive unpacking, the daemon fails to reject top-level symbolic links for the instance `templates` directory. Subsequent requests to the instance template API endpoints follow this symbolic link outside the instance storage directory with root privileges, enabling complete host compromise.

Amit Schendel
Amit Schendel
4 views•10 min read
•1 day ago•CVE-2026-12411
8.4

CVE-2026-12411: Cross-Guest Volume Hijack via DevLXD Device PATCH in Canonical LXD

CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.

Amit Schendel
Amit Schendel
7 views•10 min read
•1 day ago•CVE-2026-105769
9.3

CVE-2026-105769: Azure Entra ID Token Exfiltration in Kaniko via Unanchored ACR Hostname Regex

CVE-2026-105769 (GHSA-5q7h-w9jf-cx97, GO-2026-6225) is an origin validation error and credential exfiltration vulnerability affecting Kaniko prior to version 1.25.20. The flaw stems from an unanchored regular expression in the integrated Azure Container Registry (ACR) credential helper (github.com/chrismellard/docker-credential-acr-env). When Kaniko processes a Dockerfile containing an image reference hosted on a lookalike domain containing an ACR suffix as a substring (e.g., x.azurecr.io.attacker.com), the credential helper acquires a Microsoft Entra ID access token for Azure Resource Manager and transmits it via HTTP POST to the attacker-controlled host.

Amit Schendel
Amit Schendel
11 views•11 min read