What’s Vulnerable › Vulnerabilities
CVE-2023-45820: Directus crashes on invalid WebSocket message
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-19 · updated 2026-06-17
- Weakness: CWE-755
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.
Affected products
- directus: from 10.4.0 before 10.6.2 — fixed in 10.6.2
How to fix
Upgrade to a fixed version: directus 10.6.2. Check the vendor advisory for mitigations.
References
- https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb
- https://github.com/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m
- https://github.com/directus/directus/commit/243eed781b42d6b4948ddb8c3792bcf5b44f55bb
- https://github.com/directus/directus/security/advisories/GHSA-hmgw-9jrg-hf2m
Get alerted when CVE-2023-45820 or the next vulnerability affects your stack