Directus crashes on invalid WebSocket message
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- 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 | 10.4 to before 10.6.2 | 10.6.2 | Patch available | CNA |
| — | directus (npm) | 10.4.0 to before 10.6.2 | 10.6.2 | Patch available | GHSA-hmgw-9jrg-hf2m |
- directus Vendordirectus Affected 10.4 to before 10.6.2 Fixed in 10.6.2 Patch available CNA
- directus (npm) Vendor— Affected 10.4.0 to before 10.6.2 Fixed in 10.6.2 Patch available GHSA-hmgw-9jrg-hf2m
Remediation
- Fix · CNA directus (directus) Fixed in 10.6.2
- Fix · GHSA-hmgw-9jrg-hf2m directus (npm) Fixed in 10.6.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45820
- 2026-10-03 Alias added: GHSA-hmgw-9jrg-hf2m
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- 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
Sources
- CVE-2023-45820 · CVE Program
- CVE-2023-45820 · NVD
- FIRST EPSS
- GHSA-hmgw-9jrg-hf2m · 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