CVE-2026-142072: Directus 11.0.0 before 12.4.0 IP Access Restriction Bypass via GraphQL WebSocket Subscriptions
Directus 11.0.0 before 12.4.0 contains an incorrect authorization vulnerability in its GraphQL WebSocket subscription handling, which does not carry the client's IP address, user agent, or origin into the connection's accountability, so policies limited by ipaccess treat the connection as unrestricted, and a global access cache keyed without the client IP extends the elevated result to the same user's REST and GraphQL HTTP requests. Authenticated users whose adminaccess or appaccess policy is restricted by ipaccess can connect over the GraphQL WebSocket from outside the allowed network to gain administrator access, with their actions logged without IP, user agent, or origin.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 12.4.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments running Directus versions from 11.0.0 before 12.4.0 are affected when an authenticated user's admin_access or app_access policy is restricted using ip_access and GraphQL WebSocket subscriptions are available.
What does an attacker need to exploit this?
The attacker needs valid authentication as a user whose admin_access or app_access is limited by ip_access. They can connect through GraphQL WebSocket subscriptions from outside the allowed network.
Does the impact remain limited to the WebSocket connection?
No. A global access cache that is not keyed by client IP can extend the elevated authorization result to REST and GraphQL HTTP requests made by the same user.
Can normal audit records identify the remote source of exploitation?
Actions performed through the affected connection are logged without the client's IP address, user agent, or origin. This limits the ability to determine the source from those action logs.