Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-126539: Directus allows unauthenticated users to modify data via WebSocket
CVE-2026-126539 · published 24 days ago
Summary
Versions of Directus older than 12.1.0 let anyone connect to the public WebSocket interface and bypass normal permission checks. An attacker can send a deliberately bad login token, causing the system to treat the request as coming from no user, and then read, add, change, or delete records in any custom collection. Upgrade Directus to version 12.1.0 or later, and restrict or disable the public WebSocket access if it is not needed.
What to do
- Update directus directus to version 12.1.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| directus | directus | < 12.1.0 |
Original advisory text
Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
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.
References
- https://github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/... Third Party Advisory
- https://github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929... Patch
- https://github.com/directus/directus/releases/tag/v12.1.0 Vendor Advisory
- https://github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c Vendor Advisory
- https://www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-1265... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126539 Vendor Advisory
- https://github.com/directus/directus Product
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-636Not Failing Securely ('Failing Open')
Timeline
Published11 Nov 2026
Updated3 Dec 2026
First seen11 Nov 2026
Sources
CVE-2026-126539 · NVD
CVE-2026-126539 · MITRE
CVE-2026-126539 · OSV
GHSA-97xr-jchp-xm3c · GHSA
Track software like this
Free during beta