{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-54151","id":"CVE-2024-54151","title":"Directus allows unauthenticated access to WebSocket events and operations","description":"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_GR","descriptionLong":"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.","published":"2024-12-09T20:57:28.365Z","updated":"2026-10-28T02:30:38.439327448Z","reserved":"2024-11-29T18:02:16.756Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["directus"],"affectedProducts":[{"vendor":"directus","product":"directus","defaultStatus":null,"versions":[{"version":">= 11.0.0, < 11.3.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"directus","purl":"pkg:npm/directus","ranges":[">=11.0.0 <11.3.0"],"fixed":["11.3.0"],"advisory":"GHSA-849r-qrwj-8rv4"},{"ecosystem":"npm","name":"@directus/api","purl":"pkg:npm/%40directus/api","ranges":[">=22.2.0 <23.2.0"],"fixed":["23.2.0"],"advisory":"GHSA-849r-qrwj-8rv4"}],"cwes":["CWE-200"],"aliases":["GHSA-849r-qrwj-8rv4"],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54151.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54151","tags":["advisory"]},{"url":"https://github.com/directus/directus","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00695,"epssPercentile":0.537,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-54151","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54151","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-54151","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-849r-qrwj-8rv4","ok":true,"note":"GHSA-849r-qrwj-8rv4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-54151","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}