Paper/Archive/CVE-2026-126539

CVE-2026-126539

directus directus — Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface

Description · from the CVE record

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

ProductAffectedFixed inSource
directus< 12.1.012.1.0CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

advisorygithub.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3cpatchgithub.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300erefgithub.com/directus/directus/releases/tag/v12.1.0writeupgithub.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397writeupvulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-public-websocket-rest-interface