What’s Vulnerable › Vulnerabilities
CVE-2023-27481: Extract password hashes through export querying in directus
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-07 · updated 2026-06-17
- Weakness: CWE-200
Description
Directus is a real-time API and App dashboard for managing SQL database content. In versions prior to 9.16.0 users with read access to the `password` field in `directus_users` can extract the argon2 password hashes by brute forcing the export functionality combined with a `_starts_with` filter. This allows the user to enumerate the password hashes. Accounts cannot be taken over unless the hashes can be reversed which is unlikely with current hardware. This problem has been patched by preventing any hashed/concealed field to be filtered against with the `_starts_with` or other string operator in version 9.16.0. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by ensuring that no user has `read` access to the `password` field in `directus_users`.
Affected products
- directus: before 9.16.0 — fixed in 9.16.0
How to fix
Upgrade to a fixed version: directus 9.16.0. Check the vendor advisory for mitigations.
References
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
Get alerted when CVE-2023-27481 or the next vulnerability affects your stack