{"id":"CVE-2024-54151","published":"2024-12-09T20:57:28Z","modified":"2024-12-10T17:09:06Z","title":"Directus allows unauthenticated access to WebSocket events and operations","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 11.0.0 and prior to version 11.3.0, when setting `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` to \"public\", an unauthenticated user is able to do any of the supported operations (CRUD, subscriptions) with full admin privileges. This impacts any Directus instance that has either `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` set to `public` allowing unauthenticated users to subscribe for changes on any collection or do REST CRUD operations on user defined collections ignoring permissions. Version 11.3.0 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00695,"percentile":0.539,"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-849r-qrwj-8rv4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.78},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 11.0.0, < 11.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-10T16:10:28.432315Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=11.0.0, <11.3.0"],"patched":["11.3.0"],"from":["GHSA-849r-qrwj-8rv4"],"provenance":"source"},{"ecosystem":"npm","package":"@directus/api","vulnerableRanges":[">=22.2.0, <23.2.0"],"patched":["23.2.0"],"from":["GHSA-849r-qrwj-8rv4"],"provenance":"source"}],"summary":{"text":"Directus, a real-time API and dashboard for managing SQL database content, has a flaw in its WebSocket authentication handling in the directus component: when the WEBSOCKETS_GRAPHQL_AUTH or WEBSOCKETS_REST_AUTH setting is set to \"public\", unauthenticated users can subscribe to changes on any collection and perform REST and GraphQL CRUD operations that ignore permissions. The attacker needs only network access to the instance and no credentials, user interaction, or further configuration beyond the affected public setting being enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:08Z"},"euvd":{"id":"EUVD-2024-3448","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2023-45820","parents":[{"from":"CVE-2023-45820","to":"CVE-2024-54151","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["api/src/websocket/controllers/base.ts"],"commits":["https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb","https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21"],"basis":"shared function","functions":["SocketController"]}]}],"packageHistory":[{"cve":"CVE-2025-27089","published":"2025-02-19","fixed":"11.1.2","kev":false},{"cve":"CVE-2025-24353","published":"2025-01-23","fixed":"11.2.0","kev":false},{"cve":"CVE-2024-54128","published":"2024-12-05","fixed":"11.2.2","kev":false,"link":{"from":"CVE-2024-54128","to":"CVE-2024-54151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"11.2.2","toFixed":"11.3.0","daysApart":4}]}},{"cve":"CVE-2024-54151","published":"2024-12-09","fixed":"11.3.0","kev":false},{"cve":"CVE-2024-6533","published":"2024-08-15","fixed":"11.3.3","kev":false},{"cve":"CVE-2025-30225","published":"2025-03-26","fixed":"11.5.0","kev":false},{"cve":"CVE-2025-30350","published":"2025-03-26","fixed":"11.5.0","kev":false}],"package":"npm:directus"}}