CVE-2026-126539
published critical CVSS 4.0 · 9.2Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| directus | — | directus0 to < 12.1.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| directus | directus | 0 to < 12.1.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-636 Not Failing Securely ('Failing Open')
References
5- https://github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397
- https://github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e
- Directus v12.1.0 Release Notes https://github.com/directus/directus/releases/tag/v12.1.0
- GitHub Security Advisory (GHSA-97xr-jchp-xm3c) https://github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c
- VulnCheck Advisory: Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface https://www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-public-websocket-rest-interface
Provider assertions
2VulnCheck · cna
Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6bfd16d32bc6773a0140b247956ab732c436af99c6cd38fa6cce4ce31da599ad
- Ingested
- 12 Nov 2026, 18:03:24 UTC
- Source record
- Official CVE record