{"id":"GHSA-cph6-524f-3hgr","revision":"89bf2565ec524ce7a0e37258b18fb16b","records":[{"revision":"89bf2565ec524ce7a0e37258b18fb16b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-cph6-524f-3hgr","aliases":["CVE-2025-64749"],"title":"Directus Vulnerable to Information Leakage in Existing Collections","description":"### 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)","state":0,"publishedAt":"2025-11-13T23:07:31+00:00","modifiedAt":"2025-11-15T03:15:40+00:00","affected":[{"ecosystem":"npm","name":"directus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"11.13.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@directus/api","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"32.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-cph6-524f-3hgr","https://nvd.nist.gov/vuln/detail/CVE-2025-64749","https://github.com/directus/directus/commit/f99c9b89071f9d136cc9b0d0c182f2d24542bc31","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-cph6-524f-3hgr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-cph6-524f-3hgr","identifiers":["GHSA-cph6-524f-3hgr","CVE-2025-64749"]},"retained":false,"historicalAffected":[]}],"coverage":[]}