{"id":"CVE-2025-30352","aliases":["CVE-2025-30352","GHSA-7wq3-jr35-275c"],"related":[],"kind":"vulnerability","state":"published","title":"Directus `search` query parameter allows enumeration of non permitted fields","summary":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 9.0.0-alpha.4 and prior to version 11.5.0, the `search` query parameter allows users with access to a collection to filter items based on fields they do not have permission to view. This allows the enumeration of unknown field contents. The searchable columns (numbers & strings) are not checked against permissions when injecting the `where` clauses for applying the search query. This leads to the possibility of enumerating those un-permitted fields. Version 11.5.0 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 9.0.0-alpha.4 and prior to version 11.5.0, the `search` query parameter allows users with access to a collection to filter items based on fields they do not have permission to view. This allows the enumeration of unknown field contents. The searchable columns (numbers & strings) are not checked against permissions when injecting the `where` clauses for applying the search query. This leads to the possibility of enumerating those un-permitted fields. Version 11.5.0 fixes the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe `search` query parameter allows users with access to a collection to filter items based on fields they do not have permission to view. This allows the enumeration of unknown field contents.\n\n### Details\n\nThe searchable columns (numbers & strings) are not checked against permissions when injecting the `where` clauses for applying the search query. This leads to the possibility of enumerating those un-permitted fields.\n\n### PoC\n\n- Create a collection with a string / numeric field, configure the permissions for the public role to not include the field created\n- Create items with identifiable content in the not permitted field\n- Query the collection and include the field content in the `search` parameter\n- See that results are returned, even tho the public user does not have permission to view the field content\n\n### Impact\n\nThis vulnerability is a very high impact, as for example Directus instances which allow public read access to the user avatar are vulnerable to have the email addresses, password hashes and potentially admin level access tokens extracted. The admin token and password hash extraction have a caveat, as string fields are only searched with a lower cased version of the search query.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es una API en tiempo real y un panel de control para aplicaciones que gestiona el contenido de bases de datos SQL. A partir de la versión 9.0.0-alpha.4 y anteriores a la 11.5.0, el parámetro de consulta `search` permite a los usuarios con acceso a una colección filtrar elementos según los campos que no tienen permiso para ver. Esto permite enumerar el contenido de campos desconocidos. Las columnas de búsqueda (números y cadenas) no se verifican con los permisos al inyectar las cláusulas `where` para aplicar la consulta de búsqueda. Esto permite enumerar los campos no permitidos. La versión 11.5.0 soluciona este problema.","source":"nvd"}],"published":"2025-03-26T17:18:39.567Z","modified":"2026-09-10T03:49:48.445Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":">= 9.0.0-alpha.4, < 11.5.0","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.0.0-alpha.4","status":"affected","fixed":"11.5.0"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"9.0.1","fixed":"11.5.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.0"},{"status":"affected","version":"9.0.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-7wq3-jr35-275c","tags":["exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/directus/directus/commit/ac5a9964d9926f20dc063a74cb417dc7bbad676d","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30352","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/directus/directus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-27T15:14:43.647Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-30352","url":"https://www.cve.org/CVERecord?id=CVE-2025-30352","licence":"CVE Terms of Use","modified":"2025-03-27T15:15:07.652Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7wq3-jr35-275c","url":"https://github.com/advisories/GHSA-7wq3-jr35-275c","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:48.445Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-30352","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30352","licence":"Public domain","modified":"2026-06-17T09:08:34.010Z"}],"updatedAt":"2026-11-25T22:58:55.550Z","epss":{"score":0.00373,"percentile":0.33338,"date":"2026-12-01T12:00:22.000Z"}}