Original 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.
Affected software
- Directus < 12.1.0 Fixed in: 12.1.0 repository or package match
Details
- Published
- 2026-11-11
- Last modified
- 2026-11-13
- CVSS 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- CWE
- CWE-636
- EPSS (30-day exploit probability)
- 0.46% (percentile 41)
References
- cve.org/CVE-2026-126539
- nvd.nist.gov/vuln/detail/CVE-2026-126539
- github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c
- github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e
- github.com/directus/directus/releases/tag/v12.1.0
- github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397
- www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-public-websoc...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.