CVEvulnerability
CVE-2024-39701
7.7 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-07-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.3 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-284
Description
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.
Affected configurations
• monospace directus (>= 9.23.0 < 10.6.0)
Related
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm Exploit, Third Party Advisory
- https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm Exploit, Third Party Advisory