Skip to content

CVE-2024-39701 Directus Incorrectly handles _in` filter

HighCVSS 7.7 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
monospace directus >= 9.23.0, < 10.6.0 10.6.0 Fixed
npm directus(npm) >= 9.23.0, < 10.6.0; >= 9.23.0, <= 10.5.3 10.6.0 Fixed
directus = >= 9.23.0, < 10.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm directus(npm) >= 9.23.0, <= 10.5.3 No fix listed
directus = >= 9.23.0, < 10.6.0 No fix listed
monospace directus >= 9.23.0, < 10.6.0 10.6.0
npm directus(npm) >= 9.23.0, < 10.6.0 10.6.0

References