CVE-2026-126539: Directus authorization bypass in WebSocket public mode

CVE-2026-126539 · Severity: high · CVSS 8.1 · Published 2026-11-11

Directus is a headless CMS and API platform that manages content and data. An unauthenticated attacker can bypass permission checks on public WebSocket connections by sending a failed authentication message, allowing them to read, create, update, or delete any data in the system without proper authorization.

Vendors: Directus.

Quick answers

Is CVE-2026-126539 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-126539 being exploited in the wild.
How severe is CVE-2026-126539?
High severity, with a CVSS score of 8.1, published 11 November 2026.
Which products and versions are affected?
Directus before 12.1.0.
Is there a fix for CVE-2026-126539?
Yes: fixed in 12.1.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-126539 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-126539?
Check whether you run Directus at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 12.1.0

Technical details

The vulnerability exists in Directus's WebSocket authentication handler for public-mode connections. When an attacker sends an invalid authentication token, the handleAuthRequest function sets accountability to null instead of rejecting the connection, allowing subsequent operations to skip permission checks. This affects all user-defined collections accessible via the public WebSocket interface.

Affected products

  • Directus Directus before 12.1.0

Timeline

  • 2026-11-11: disclosed
  • 2026-07-01: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.