# CVE-2023-45820: Directus crashes on invalid WebSocket message

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-19T18:38:18.856Z
- Modified: 2026-06-17T06:29:35.470Z
- Also known as: GHSA-hmgw-9jrg-hf2m
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Directus is a real-time API and App dashboard for managing SQL database content. In affected versions any Directus installation that has websockets enabled can be crashed if the websocket server receives an invalid frame. A malicious user could leverage this bug to crash Directus. This issue has been addressed in version 10.6.2. Users are advised to upgrade. Users unable to upgrade should avoid using websockets.

(As written by CVE List.)

## Affected

- directus directus: >=10.4, < 10.6.2; from 10.4 before 10.6.2
- directus (npm): from 10.4.0 before 10.6.2
- monospace directus: from 10.4.0 before 10.6.2

## Every score

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

## References

- <https://github.com/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m> (exploit, vendor-advisory, web)
- <https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45820> (advisory)
- <https://github.com/directus/directus> (package)
- <https://github.com/directus/directus/releases/tag/v10.6.2> (web)

## Sources

- CVE List: [CVE-2023-45820](https://www.cve.org/CVERecord?id=CVE-2023-45820), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-hmgw-9jrg-hf2m](https://github.com/advisories/GHSA-hmgw-9jrg-hf2m), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-45820](https://nvd.nist.gov/vuln/detail/CVE-2023-45820), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45820 · Whole record: https://cve.day/CVE-2023-45820.json · Rebuilt by cve.day 2026-11-25T22:58:28.941Z
