<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Djust (&lt;= 1.1.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/djust--1.1.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 16 Sep 2026 19:07:43 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/djust--1.1.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Multi-tenant Isolation Bypass in djust via WebSocket/SSE</title><link>https://feed.craftedsignal.io/briefs/2026-09-djust-tenant-isolation/</link><pubDate>Wed, 16 Sep 2026 19:07:43 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-djust-tenant-isolation/</guid><description>A vulnerability in djust caused multi-tenant isolation to fail open on WebSocket and SSE paths, allowing unauthorized cross-tenant data disclosure due to improper tenant context propagation.</description><content:encoded><![CDATA[<p>The djust package (versions prior to 1.0.7) suffers from a critical multi-tenant isolation failure affecting WebSocket and Server-Sent Events (SSE) connections. The vulnerability stems from the implementation of tenant identification, which relied on <code>threading.local()</code> and an HTTP-only middleware. Because this middleware was not invoked on persistent connection paths (WebSocket/SSE), the <code>get_current_tenant()</code> function returned <code>None</code>.</p>
<p>Consequently, the tenant-aware <code>QuerySet</code> manager failed in an open state, returning unfiltered data instead of restricting access to the current tenant. This issue was compounded by the use of <code>sync_to_async</code> executors, which shared thread-local storage across disparate connection contexts. This vulnerability allows an authenticated attacker to access data belonging to other tenants by initiating a WebSocket or SSE connection. The issue is addressed in version 1.0.7 by transitioning to <code>contextvars.ContextVar</code> and ensuring secure tenant binding during connection dispatch.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in the unauthorized disclosure of sensitive data across all tenants within a djust-powered application. As the system defaults to returning unfiltered query sets when the tenant context is missing, any user with access to an active WebSocket or SSE endpoint can view records intended for other users or organizations. This vulnerability affects all applications using djust versions below 1.0.7 that utilize live connection features.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the djust package to version 1.0.7 or later immediately to resolve CVE-2026-61595.</li>
<li>After upgrading, verify that the application triggers system check S006 if <code>STRICT_MODE</code> is disabled, as this check warns when tenant isolation protections are lowered.</li>
<li>Audit application logs for abnormal access patterns on WebSocket and SSE endpoints that may indicate unauthorized data harvesting from cross-tenant query results.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>web-application</category><category>mass-assignment</category><category>cve-2026-61598</category><category>remote-code-execution</category><category>information-disclosure</category><category>cve-2026-61590</category><category>idor</category><category>broken-access-control</category><category>vulnerability</category><category>privilege-escalation</category><category>injection</category><category>xss</category><category>template-injection</category><category>djust</category></item></channel></rss>