Directus GraphQL WebSocket subscriptions bypass IP access restrictions
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
Directus versions from 11.0.0 before 12.4.0 do not pass the client's IP address, user agent, or origin into GraphQL WebSocket subscription connections, so policies restricted by ip_access treat those connections as unrestricted. A global access cache keyed without the client IP extends the elevated result to the same user's REST and GraphQL HTTP requests, related to Incorrect Authorization (CWE-863). An authenticated user whose admin_access or app_access policy is restricted by ip_access can connect over the GraphQL WebSocket from outside the allowed network to gain administrator access, and their actions are logged without IP, user agent, or origin.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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 ip_access 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 admin_access or app_access policy is restricted by ip_access 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Directus to version 12.4.0 or later, which fixes the flaw in the affected 11.x and 12.x releases before 12.4.0. The sources list no fixed version for Directus beyond 12.4.0.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA directus (directus) Fixed in 12.4.0
Timeline
- 2026-12-02 Threatist record created from CVE-2026-142072
- 2026-12-02 Alias added: GHSA-6rpw-p8h6-63xq
References
More directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-142072 · CVE Program
- CVE-2026-142072 · NVD
- GHSA-6rpw-p8h6-63xq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences