{"id":"CVE-2023-38503","published":"2023-07-25T22:06:00Z","modified":"2024-10-10T17:46:06Z","title":"Directus has Incorrect Permission Checking for GraphQL Subscriptions","vendor":"directus","product":"directus","tier":"tail","description":{"text":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 10.3.0 and prior to version 10.5.0, the permission filters (i.e. `user_created IS $CURRENT_USER`) are not properly checked when using GraphQL subscription resulting in unauthorized users getting event on their subscription which they should not be receiving according to the permissions. This can be any collection but out-of-the box the `directus_users` collection is configured with such a permissions filter allowing you to get updates for other users when changes happen. Version 10.5.0 contains a patch. As a workaround, disable GraphQL subscriptions.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.4369,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-gggm-66rh-pp98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/pull/19155","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.74},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 10.3.0, < 10.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-10T17:37:11.301595Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.3.0, <10.5.0"],"patched":["10.5.0"],"from":["GHSA-gggm-66rh-pp98"],"provenance":"source"}],"summary":{"text":"Directus, the real-time API and app dashboard for managing SQL database content, has incorrect permission checking in its GraphQL subscriptions in versions from 10.3.0 up to but not including 10.5.0. An authenticated user with low privileges and needing another user's interaction can receive subscription events for collections they should not have access to, such as updates to other users in the default directus_users collection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:27Z"},"euvd":{"id":"EUVD-2023-2063","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-26492","published":"2023-03-03","fixed":"9.23.0","kev":false},{"cve":"CVE-2023-27474","published":"2023-03-06","fixed":"9.23.0","kev":false},{"cve":"CVE-2023-28443","published":"2023-03-23","fixed":"9.23.3","kev":false},{"cve":"CVE-2023-38503","published":"2023-07-25","fixed":"10.5.0","kev":false},{"cve":"CVE-2024-39701","published":"2024-07-08","fixed":"10.6.0","kev":false,"link":{"from":"CVE-2023-38503","to":"CVE-2024-39701","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.5.0","toFixed":"10.6.0","daysApart":349}]}},{"cve":"CVE-2023-45820","published":"2023-10-19","fixed":"10.6.2","kev":false},{"cve":"CVE-2024-27295","published":"2024-03-01","fixed":"10.8.3","kev":false}],"package":"npm:directus"}}