{"id":"CVE-2025-64749","aliases":["GHSA-cph6-524f-3hgr"],"url":"https://o3.security/vulnerability/CVE-2025-64749","summary":"Directus Vulnerable to Information Leakage in Existing Collections","details":"### 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)","published":"2025-11-13T21:34:54.603Z","modified":"2026-08-12T03:51:30.946132658Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"directus","fixedVersion":"11.13.0"},{"ecosystem":"npm","name":"@directus/api","fixedVersion":"32.0.0"}],"fix":{"url":"https://github.com/directus/directus/commit/f99c9b89071f9d136cc9b0d0c182f2d24542bc31","label":"directus/directus@f99c9b8"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64749.json"},{"type":"ADVISORY","url":"https://github.com/directus/directus/security/advisories/GHSA-cph6-524f-3hgr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64749"},{"type":"FIX","url":"https://github.com/directus/directus/commit/f99c9b89071f9d136cc9b0d0c182f2d24542bc31"},{"type":"PACKAGE","url":"https://github.com/directus/directus"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:30.946132658Z"}}