<?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.0.7) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/djust--1.0.7/</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.0.7/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><item><title>Cross-Site Request Forgery Vulnerability in djust SSE Transport</title><link>https://feed.craftedsignal.io/briefs/2026-09-djust-csrf/</link><pubDate>Wed, 16 Sep 2026 19:07:36 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-djust-csrf/</guid><description>The djust library before version 1.0.7 is vulnerable to CSRF via its SSE transport, allowing cross-origin requests to execute state-changing event handlers as an authenticated victim.</description><content:encoded><![CDATA[<p>The djust library, prior to version 1.0.7, contains a high-severity Cross-Site Request Forgery (CSRF) vulnerability (CVE-2026-61593) affecting its Server-Sent-Events (SSE) transport implementation. The vulnerability stems from a lack of Origin header validation on SSE endpoints and the use of CSRF-exempted POST endpoints. Because the library allows client-chosen session identifiers and accepts requests with a 'text/plain' content type, an attacker can bypass CORS preflight checks to perform 'simple requests' from a malicious cross-origin page. This enables an attacker to force an authenticated victim's browser to establish an SSE session, mount a LiveView, and execute state-changing event handlers on behalf of the victim. Defenders should prioritize patching to version 1.0.7, which introduces strict Origin validation against 'ALLOWED_HOSTS' and mandates 'application/json' content-type checks.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthorized remote attacker to perform state-changing actions within the application context of an authenticated victim. This can lead to unauthorized data modification, account takeover, or the execution of privileged administrative actions. The vulnerability affects all applications using djust prior to version 1.0.7.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the djust package to version 1.0.7 or later to implement required Origin validation and content-type enforcement.</li>
<li>If immediate patching is not possible, disable the SSE transport entirely or implement a reverse proxy layer capable of enforcing strict Origin header allowlisting for all traffic directed to the SSE endpoints.</li>
<li>Monitor web server access logs for anomalous cross-origin POST requests or SSE stream requests originating from unexpected domains.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>web-application-security</category><category>csrf</category><category>sse</category><category>vulnerability</category></item></channel></rss>