Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
- State
- Published
- Severity
- 9.2 Critical
- Published
- Nov 11, 2026
- Updated
- Nov 12, 2026
- Reserved
- Nov 11, 2026
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.
| Product | Versions |
|---|---|
| directus directus | before 12.1.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-636 Not Failing Securely ('Failing Open')
References
- GitHub Security Advisory (GHSA-97xr-jchp-xm3c)Vendor Advisory
- https://github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300ePatch
- Directus v12.1.0 Release NotesRelease Notes
- https://github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397Technical Details
- VulnCheck Advisory: Directus before 12.1.0 Authorization Bypass via Public WebSocket REST InterfaceThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.