CVE-2026-126539 Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
Unauthenticated attackers can bypass Directus permission checks on public WebSocket connections to read, create, update or delete records in any collection.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-126539?
CVE-2026-126539 is a critical authentication bypass vulnerability in directus, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-636
Which versions are affected by CVE-2026-126539?
Only installations with a non-default setting turned on are exposed.
How do I fix CVE-2026-126539?
No fix has been published for CVE-2026-126539 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-126539 being exploited?
There is no known exploitation of CVE-2026-126539 in the wild and no public exploit code.
Sources
Also known as GHSA-97xr-jchp-xm3c, GHSA-mgp5-77q8-6g32.