{"id":"CVE-2025-64749","aliases":["CVE-2025-64749","GHSA-cph6-524f-3hgr"],"related":[],"kind":"vulnerability","state":"published","title":"Directus Vulnerable to Information Leakage in Existing Collections","summary":"Directus is a real-time API and App dashboard for managing SQL database content. An observable difference in error messaging was found in the Directus REST API in versions of Directus prior to version 11.13.0. The `/items/{collection}` API returns different error messages for two cases: when a user tries to access an existing collection which they are not authorized to access, and when user tries to access a non-existing collection. The two differing error messages leak the existence of collections to users which are not authorized to access these collections. Version 11.13.0 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. An observable difference in error messaging was found in the Directus REST API in versions of Directus prior to version 11.13.0. The `/items/{collection}` API returns different error messages for two cases: when a user tries to access an existing collection which they are not authorized to access, and when user tries to access a non-existing collection. The two differing error messages leak the existence of collections to users which are not authorized to access these collections. Version 11.13.0 fixes the issue.","source":"cvelist"},{"lang":"en","text":"### Summary:\n\nAn observable difference in error messaging was found in the Directus REST API. The `/items/{collection}` API returns different error messages for these two cases:\n1. A user tries to access an existing collection which they are not authorized to access.\n2. A user tries to access a non-existing collection.\n\nThe two differing error messages leak the existence of collections to users which are not authorized to access these collections.\n\n### Details:\n\nThe following response returns an error message, when requesting a collection the user is not authorized to access.\n\n```\nGET /items/no-access\n{\n  \"errors\": [\n    {\n      \"message\": \"You don't have permission to access collection \\\"no-access\\\" or it does not exist. Queried in root.\",\n      \"extensions\": {\n        \"reason\": \"You don't have permission to access collection \\\"no-access\\\" or it does not exist. Queried in root.\",\n        \"code\": \"FORBIDDEN\"\n      }\n    }\n  ]\n}\n```\n\nThe following response returns a different error message when requesting a collection which does not exist.\n\n```\nGET /items/does-not-exist\n{\n  \"errors\": [\n    {\n      \"message\": \"You don't have permission to access this.\",\n      \"extensions\": {\n        \"code\": \"FORBIDDEN\"\n      }\n    }\n  ]\n}\n```\n\n### Impact:\n\nThe difference in errors between non-existent collections and collections blocked by permissions leak the existence of a collection to a user which is not authorized to access this object.\n\n### Credit:\n\nSebastian Krause - [Hackmanit GmbH](https://hackmanit.de)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es una API en tiempo real y un panel de control de aplicaciones para gestionar contenido de base de datos SQL. Se encontró una diferencia observable en los mensajes de error en la API REST de Directus en versiones de Directus anteriores a la versión 11.13.0. La API '/items/{collection}' devuelve mensajes de error diferentes para dos casos: cuando un usuario intenta acceder a una colección existente a la que no está autorizado a acceder, y cuando un usuario intenta acceder a una colección no existente. Los dos mensajes de error diferentes filtran la existencia de colecciones a usuarios que no están autorizados a acceder a estas colecciones. La versión 11.13.0 corrige el problema.","source":"nvd"}],"published":"2025-11-13T21:34:54.603Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-203","CWE-209"],"affected":[{"ranges":[{"version":"< 11.13.0","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.13.0"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"32.0.0"}],"ecosystem":"npm","package":"@directus/api","purl":"pkg:npm/%40directus/api","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.13.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-cph6-524f-3hgr","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/directus/directus/commit/f99c9b89071f9d136cc9b0d0c182f2d24542bc31","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64749","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":"partial","date":"2025-11-14T17:14:48.614Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64749","url":"https://www.cve.org/CVERecord?id=CVE-2025-64749","licence":"CVE Terms of Use","modified":"2025-11-14T17:15:38.905Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cph6-524f-3hgr","url":"https://github.com/advisories/GHSA-cph6-524f-3hgr","licence":"CC-BY-4.0","modified":"2025-11-15T03:15:40.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64749","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64749","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.662Z","epss":{"score":0.00346,"percentile":0.30188,"date":"2026-12-01T12:00:22.000Z"}}