Directus Incorrectly handles _in` filter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
Directus is a real-time API and App dashboard for managing SQL database content. Directus >=9.23.0, <=v10.5.3 improperly handles _in, _nin operators. It evaluates empty arrays as valid so expressions like {"role": {"_in": $CURRENT_USER.some_field}} would evaluate to true allowing the request to pass. This results in Broken Access Control because the rule fails to do what it was intended to do: Pass rule if **field** matches any of the **values**. This vulnerability is fixed in 10.6.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | 9.23.0 to before 10.6.0 | 10.6.0 | Patch available | CNA |
| — | directus (npm) | 9.23.0 to before 10.6.0 | 10.6.0 | Patch available | GHSA-hxgm-ghmv-xjjm |
- directus Vendordirectus Affected 9.23.0 to before 10.6.0 Fixed in 10.6.0 Patch available CNA
- directus (npm) Vendor— Affected 9.23.0 to before 10.6.0 Fixed in 10.6.0 Patch available GHSA-hxgm-ghmv-xjjm
Remediation
- Fix · CNA directus (directus) Fixed in 10.6.0
- Fix · GHSA-hxgm-ghmv-xjjm directus (npm) Fixed in 10.6.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39701
- 2026-10-03 Alias added: GHSA-hxgm-ghmv-xjjm
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-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
- TI-2024-26790 Directus GraphQL Field Duplication Denial of Service (DoS) CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-39701 · CVE Program
- CVE-2024-39701 · NVD
- FIRST EPSS
- GHSA-hxgm-ghmv-xjjm · 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