# CVE-2024-54151: Directus allows unauthenticated access to WebSocket events and operations

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-09T20:40:54.000Z
- Modified: 2026-09-10T03:50:21.359Z
- Also known as: GHSA-849r-qrwj-8rv4
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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_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.

(As written by CVE List.)

## Affected

- directus directus: >= 11.0.0, < 11.3.0
- directus (npm): from 11.0.0 before 11.3.0
- @directus/api (npm): from 22.2.0 before 23.2.0
- monospace directus: from 11.0.0 before 11.3.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4> (exploit, vendor-advisory, web)
- <https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-54151> (advisory)
- <https://github.com/directus/directus> (package)

## Sources

- CVE List: [CVE-2024-54151](https://www.cve.org/CVERecord?id=CVE-2024-54151), CVE Terms of Use, modified 2024-12-10
- GitHub Advisory Database: [GHSA-849r-qrwj-8rv4](https://github.com/advisories/GHSA-849r-qrwj-8rv4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-54151](https://nvd.nist.gov/vuln/detail/CVE-2024-54151), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54151 · Whole record: https://cve.day/CVE-2024-54151.json · Rebuilt by cve.day 2026-11-25T22:58:49.857Z
