CVE-2024-54151
HIGH 7.5CVSS 3.1Directus allows unauthenticated access to WebSocket events and operations
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
- 9 Dec 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-200
- Also known as
- GHSA-849r-qrwj-8rv4
- Sources
- NVDJSONOSV GHSA-849r-qrwj-8rv4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
>= 11.0.0, < 11.3.0 | 11.3.0 |
| OSV | npm | directus | >= 11.0.0, < 11.3.0 | 11.3.0 |
| OSV | npm | @directus/api | >= 22.2.0, < 23.2.0 | 23.2.0 |
References
- https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21 · Patch, WEB
- https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-54151 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 9 Dec 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Dec 2024)