{"id":"CVE-2026-35442","aliases":["CVE-2026-35442","GHSA-38hg-ww64-rrwc"],"related":[],"kind":"vulnerability","state":"published","title":"Directus: Authenticated Users Can Extract Concealed Fields via Aggregate Queries","summary":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, 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. This vulnerability is fixed in 11.17.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, 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. This vulnerability is fixed in 11.17.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAggregate 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`.\n\n### Details\n\nFields 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.\n\n### Impact\n\n- **Account Takeover** An authenticated attacker can harvest static API tokens for all users, including administrators, enabling immediate authentication as any account without credentials.\n\n- **2FA Bypass** TOTP seeds stored in directus_users can similarly be extracted, allowing an attacker to bypass two-factor authentication for any account.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es un panel de control de API y aplicación en tiempo real para gestionar contenido de base de datos SQL. Antes de la versión 11.17.0, las funciones de agregación (min, max) aplicadas a campos con el tipo especial conceal devuelven incorrectamente valores de base de datos sin procesar en lugar del marcador de posición enmascarado. Cuando se combina con groupBy, cualquier usuario autenticado con acceso de lectura a la colección afectada puede extraer valores de campos ocultos, incluyendo tokens de API estáticos y secretos de autenticación de doble factor de directus_users. Esta vulnerabilidad se corrige en la versión 11.17.0.","source":"nvd"}],"published":"2026-04-04T06:13:57.000Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-200","CWE-863"],"affected":[{"ranges":[{"version":"< 11.17.0","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.17.0"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.17.0"}],"vendor":"monospace","product":"directus","cpe":"cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-38hg-ww64-rrwc","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35442","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/directus/directus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-07T13:30:05.012Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35442","url":"https://www.cve.org/CVERecord?id=CVE-2026-35442","licence":"CVE Terms of Use","modified":"2026-04-07T13:30:12.880Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38hg-ww64-rrwc","url":"https://github.com/advisories/GHSA-38hg-ww64-rrwc","licence":"CC-BY-4.0","modified":"2026-04-07T14:37:54.444Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35442","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35442","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.073Z","epss":{"score":0.00351,"percentile":0.30759,"date":"2026-12-01T12:00:22.000Z"}}