# CVE-2024-39701: Directus Incorrectly handles _in` filter

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-08T16:43:01.595Z
- Modified: 2026-09-10T03:50:16.748Z
- Also known as: GHSA-hxgm-ghmv-xjjm
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- directus directus: >= 9.23.0, < 10.6.0
- monospace directus: from 9.23.0 before 10.6.0
- directus (npm): from 9.23.0 before 10.6.0

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.3 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2024-39701](https://www.cve.org/CVERecord?id=CVE-2024-39701), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-hxgm-ghmv-xjjm](https://github.com/advisories/GHSA-hxgm-ghmv-xjjm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39701](https://nvd.nist.gov/vuln/detail/CVE-2024-39701), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39701 · Whole record: https://cve.day/CVE-2024-39701.json · Rebuilt by cve.day 2026-11-25T22:58:42.561Z
