CVE-2026-126539

Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface

Published Nov 11, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
Directus before 12.1.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to skip permission checks by sending a failed auth message on public-mode WebSocket connections. Attackers can send an invalid token so handleAuthRequest sets accountability to null, then read, create, update or delete records in any user-defined collection.

Analysis

AI-generated

Technical impact

In Directus versions before 12.1.0, an authorization bypass flaw allows unauthenticated attackers to skip permission checks. By sending a failed authentication message on a public‑mode WebSocket connection with an invalid token, the system sets the accountability field to null. This grants the attacker the ability to read, create, update, or delete records in any user‑defined collection, resulting in full data compromise.

Affected Systems

Monospace’s Directus product, specifically all installations running versions earlier than 12.1.0. The vulnerability is present in the 12.0.x releases and is fixed in the 12.1.0 release and later.

Risk and Exploitability

The CVSS base score of 9.2 marks this vulnerability as critical. The EPSS score of less than 1% indicates a very low probability of exploitation currently, and it is not listed in the CISA KEV catalog. However, the attack vector is unauthenticated and relies only on access to the public WebSocket interface. Based on the description, if an attacker can reach that endpoint, they could exploit the flaw. It is inferred that the flaw requires no advanced skills, which contributes to its high‑risk nature for deployments with public‑facing WebSocket access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Directus to version 12.1.0 or later to apply the vendor fix.
  • If an immediate upgrade is not possible, disable or block public‑mode WebSocket connections so that unauthenticated clients cannot reach the endpoint.
  • Ensure that the server’s firewall or reverse proxy configuration restricts WebSocket traffic to trusted networks, preventing external attackers from accessing the vulnerable interface.

Generated by OpenCVE AI on November 13, 2026 at 20:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Directus
Directus directus
Vendors & Products Directus
Directus directus
Type Values Removed Values Added
Description Directus before 12.1.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to skip permission checks by sending a failed auth message on public-mode WebSocket connections. Attackers can send an invalid token so handleAuthRequest sets accountability to null, then read, create, update or delete records in any user-defined collection.
Title Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
First Time appeared Monospace
Monospace directus
Weaknesses CWE-636
CPEs cpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:*
Vendors & Products Monospace
Monospace directus
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-636

    Not Failing Securely ('Failing Open')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 12, 2026, 5:59 PM
Reserved
Nov 11, 2026, 12:14 AM
Status
Awaiting Analysis
Published
Nov 11, 2026, 1:17 AM
Modified
Nov 12, 2026, 8:28 PM