{"id":"CVE-2024-39701","published":"2024-07-08T16:43:01Z","modified":"2024-08-02T04:26:16Z","title":"Directus Incorrectly handles _in` filter","vendor":"directus","product":"directus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00423,"percentile":0.37537,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-hxgm-ghmv-xjjm","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.51},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 9.23.0, < 10.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-08T19:39:42.719726Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=9.23.0, <10.6.0"],"patched":["10.6.0"],"from":["GHSA-hxgm-ghmv-xjjm"],"provenance":"source"}],"summary":{"text":"Directus (the directus product, versions 9.23.0 through 10.5.3) improperly handles the _in and _nin filter operators, so an empty array is treated as a valid match. An authenticated user with low privileges, reaching the API over the network with high attack complexity, could craft a permission rule that evaluates to true and bypass access controls to read data they should not see.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:25Z"},"euvd":{"id":"EUVD-2024-2368","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-27474","published":"2023-03-06","fixed":"9.23.0","kev":false},{"cve":"CVE-2023-28443","published":"2023-03-23","fixed":"9.23.3","kev":false},{"cve":"CVE-2023-38503","published":"2023-07-25","fixed":"10.5.0","kev":false,"link":{"from":"CVE-2023-38503","to":"CVE-2024-39701","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.5.0","toFixed":"10.6.0","daysApart":349}]}},{"cve":"CVE-2024-39701","published":"2024-07-08","fixed":"10.6.0","kev":false},{"cve":"CVE-2023-45820","published":"2023-10-19","fixed":"10.6.2","kev":false},{"cve":"CVE-2024-27295","published":"2024-03-01","fixed":"10.8.3","kev":false},{"cve":"CVE-2024-27296","published":"2024-03-01","fixed":"10.8.3","kev":false}],"package":"npm:directus"}}