{"id":"CVE-2024-54151","summary":"Directus allows unauthenticated access to WebSocket events and operations","details":"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.","aliases":["GHSA-849r-qrwj-8rv4"],"modified":"2026-04-02T12:24:15.476144Z","published":"2024-12-09T20:57:28.365Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54151.json","cwe_ids":["CWE-200"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54151.json"},{"type":"ADVISORY","url":"https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54151"},{"type":"FIX","url":"https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/directus/directus","events":[{"introduced":"2b02764ac8a4aac3df7764ca935ad7f9e48581b7"},{"fixed":"6948e1f9563cbfb6286fab3364ac245c8373797f"}]}],"versions":["v11.0.0","v11.0.1","v11.0.2","v11.1.0","v11.1.1","v11.1.2","v11.2.0","v11.2.1","v11.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-54151.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}