DIRECTUS · CVE-2026-35442 · Package
FIX → 11.17.0
Directus hides fields marked with the conceal type on normal reads, but aggregate min and max queries with groupBy return their raw values. An logged-in user with read access to the collection can pull static API tokens and two-factor secrets from directus_users, then take over other accounts.
first public Apr 2, 2026 · 2 sources
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Directus instances below 11.17.0 where some users hold read access to a collection with concealed fields. Directus's own user table holds static tokens and TOTP seeds, so any authenticated user with read access to directus_users is exposed. Instances where users are only trusted administrators or have no read access to concealed collections carry less risk, but the fix still applies.
Not affected if no-authenticated-users-with-read-access, version-11.17.0-or-later
Who cares api, directus, node, self-hosted
npm ls directus or npx directus --version, and compare it to the fixed version.conceal special type, especially in directus_users.Aggregate functions (min, max) applied to fields with the conceal special type incorrectly return raw database values instead of the masked placeholder. When combined with groupBy, any authenticated user with read access to the affected collection can extract concealed field values, including static API tokens and two-factor authentication secrets from directus_users.
Fields marked with conceal are protected by payload processing logic that replaces real values with a masked placeholder on read. This protection works correctly for standard item queries, but aggregate query results are structured differently, operations are nested under their function name rather than appearing as flat field keys. The masking logic does not account for this nested structure, causing it to silently skip concealed fields in aggregate responses and return their raw values to the client.
Account Takeover An authenticated attacker can harvest static API tokens for all users, including administrators, enabling immediate authentication as any account without credentials.
2FA Bypass TOTP seeds stored in directus_users can similarly be extracted, allowing an attacker to bypass two-factor authentication for any account.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
Upgrade to 11.17.0
11.17.0 or laterThis page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.