Vulnerability in Directus
CVE-2026-126539
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 40.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- fixedbyreboot/CVE-2026-126539-POC (last pushed 2026-11-14): POC for CVE-2026-126539 - Directus public-mode WebSocket accountability bypass: a failed WS auth sets accountability to null, granting unauthenticated full CRUD on user-defined collections. Vulnerabl…
References
- github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts (technical-description)
- github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e (patch)
- github.com/directus/directus/releases/tag/v12.1.0 (release-notes)
- github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c (vendor-advisory)
- www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-pu… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.