<?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/"><channel><title>Directus — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/directus/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 04 Apr 2026 06:13:57 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/directus/feed.xml" rel="self" type="application/rss+xml"/><item><title>Directus Aggregate Query Vulnerability Allows Disclosure of Concealed Data</title><link>https://feed.craftedsignal.io/briefs/2026-04-directus-aggregate-disclosure/</link><pubDate>Sat, 04 Apr 2026 06:13:57 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-directus-aggregate-disclosure/</guid><description>A vulnerability in Directus versions prior to 11.17.0 allows authenticated users to extract concealed field values, including static API tokens and two-factor authentication secrets from directus_users, via aggregate queries.</description><content:encoded><![CDATA[<p>Directus versions prior to 11.17.0 contain a vulnerability where aggregate functions, such as <code>min</code> and <code>max</code>, when applied to fields with the <code>conceal</code> special type, incorrectly return raw database values instead of the masked placeholder. This affects authenticated users who have read access to the affected collection, enabling them to extract concealed field values via <code>groupBy</code> aggregate queries.  This vulnerability allows for the extraction of sensitive information, such as static API tokens and two-factor authentication secrets stored in <code>directus_users</code>, enabling account takeovers and 2FA bypass. The vulnerability was reported on April 4, 2026, and is identified as CVE-2026-35442. Defenders should prioritize upgrading Directus instances to version 11.17.0 or later to mitigate this risk.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker authenticates to a vulnerable Directus instance with valid user credentials.</li>
<li>Attacker identifies a collection containing fields with the <code>conceal</code> special type, such as <code>directus_users</code>.</li>
<li>Attacker crafts an aggregate query using functions like <code>min</code> or <code>max</code> on the concealed field and includes a <code>groupBy</code> clause. Example: <code>SELECT min(secret_field) FROM collection GROUP BY other_field</code>.</li>
<li>The Directus server processes the aggregate query but fails to properly apply the masking logic to the nested results.</li>
<li>The server returns the raw, unmasked values of the concealed field in the aggregate query response.</li>
<li>The attacker extracts static API tokens and TOTP seeds from the returned data.</li>
<li>Attacker uses the extracted API tokens to authenticate as other users, including administrators, bypassing username/password requirements.</li>
<li>Attacker uses the extracted TOTP seeds to bypass two-factor authentication for other users, gaining unauthorized access to their accounts.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability can lead to complete account takeover, including administrative accounts. Two-factor authentication mechanisms can be bypassed, invalidating this security control. The number of affected organizations depends on the adoption rate of Directus, but all instances running versions prior to 11.17.0 are vulnerable. If the attack succeeds, attackers gain full control over the Directus instance and associated data, potentially leading to data breaches, service disruption, and reputational damage.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Directus to version 11.17.0 or later to patch the vulnerability (CVE-2026-35442).</li>
<li>Implement a Web Application Firewall (WAF) rule to detect and block aggregate queries targeting concealed fields in sensitive collections. See the Sigma rule example for guidance.</li>
<li>Monitor Directus application logs for unusual aggregate query patterns, especially those involving <code>groupBy</code> and functions like <code>min</code> or <code>max</code>.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>directus</category><category>vulnerability</category><category>credential-access</category><category>api-token</category><category>2fa-bypass</category></item></channel></rss>