---
id: CVE-2026-126539
title: >-
  Directus before 12.1.0 Authorization Bypass via Public WebSocket REST
  Interface
summary: >-
  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 to…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-636
vendor: directus
product: directus
affected:
  - directus < 12.1.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-12T16:31:03.786110Z'
published: '2026-11-11'
updated: '2026-11-12'
sourceUpdated: '2026-11-12T17:59:28.909Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126539'
references:
  - url: >-
      https://github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c
    label: GitHub Security Advisory (GHSA-97xr-jchp-xm3c)
  - url: >-
      https://github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e
  - url: 'https://github.com/directus/directus/releases/tag/v12.1.0'
    label: Directus v12.1.0 Release Notes
  - url: >-
      https://github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397
  - url: >-
      https://www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-public-websocket-rest-interface
    label: >-
      VulnCheck Advisory: Directus before 12.1.0 Authorization Bypass via Public
      WebSocket REST Interface
tags:
  - cve.org
  - exploit-available
epss: 0.00655
epssPercentile: 0.52121
ingestedAt: '2026-11-11T02:01:01.753Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/fixedbyreboot/CVE-2026-126539-POC'
  checkedAt: '2026-11-25T12:55:00.155Z'
exploitAvailable: true
---

## Overview

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.

## Affected

- `directus < 12.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
