CVE-2024-39701
HIGH 7.7CVSS 3.1Directus incorrectly handles `_in` filter
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.
- Published
- 8 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-hxgm-ghmv-xjjm
- Sources
- NVDJSONOSV GHSA-hxgm-ghmv-xjjmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:*:*:* |
>= 9.23.0, < 10.6.0 | 10.6.0 |
| OSV | npm | directus | >= 9.23.0, < 10.6.0 | 10.6.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39701 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 8 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jul 2024)