{"id":"CVE-2024-39701","summary":"Directus Incorrectly handles _in` filter","details":"Directus is a real-time API and App dashboard for managing SQL database content. Directus \u003e=9.23.0, \u003c=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.","aliases":["GHSA-hxgm-ghmv-xjjm"],"modified":"2026-03-14T12:35:03.143883Z","published":"2024-07-08T16:43:01.595Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39701.json","cwe_ids":["CWE-284"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39701.json"},{"type":"ADVISORY","url":"https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39701"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/directus/directus","events":[{"introduced":"47b9824954fd6538406d1ae754ec99f4744e5cff"},{"fixed":"3ec4009bb84a4db4beefb64603df9fc53d82d9e4"}]}],"versions":["v10.0.0","v10.1.0","v10.1.1","v10.2.0","v10.2.1","v10.3.0","v10.4.0","v10.4.2","v10.4.3","v10.5.0","v10.5.1","v10.5.2","v10.5.3","v9.23.0","v9.23.1","v9.23.2","v9.23.3","v9.23.4","v9.24.0","v9.25.0","v9.25.1","v9.25.2","v9.26.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39701.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}]}