Directus allows unauthenticated access to WebSocket events and operations
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | 11.0.0 to before 11.3.0 | 11.3.0 | Patch available | CNA |
| — | directus (npm) | 11.0.0 to before 11.3.0 | 11.3.0 | Patch available | GHSA-849r-qrwj-8rv4 |
| — | @directus/api (npm) | 22.2.0 to before 23.2.0 | 23.2.0 | Patch available | GHSA-849r-qrwj-8rv4 |
- directus Vendordirectus Affected 11.0.0 to before 11.3.0 Fixed in 11.3.0 Patch available CNA
- directus (npm) Vendor— Affected 11.0.0 to before 11.3.0 Fixed in 11.3.0 Patch available GHSA-849r-qrwj-8rv4
- @directus/api (npm) Vendor— Affected 22.2.0 to before 23.2.0 Fixed in 23.2.0 Patch available GHSA-849r-qrwj-8rv4
Remediation
- Fix · CNA directus (directus) Fixed in 11.3.0
- Fix · GHSA-849r-qrwj-8rv4 directus (npm) Fixed in 11.3.0 Advisory →
- Fix · GHSA-849r-qrwj-8rv4 @directus/api (npm) Fixed in 23.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-54151
- 2026-10-03 Alias added: GHSA-849r-qrwj-8rv4
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
- TI-2024-26790 Directus GraphQL Field Duplication Denial of Service (DoS) CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-54151 · CVE Program
- CVE-2024-54151 · NVD
- FIRST EPSS
- GHSA-849r-qrwj-8rv4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences