Directus vulnerable to extraction of password hashes through export queryingGHSA-m5q3-8wgf-x8xf
MEDIUMFix: directus/directus#14829GHSA-m5q3-8wgf-x8xf is a medium-severity (CVSS 6.5) Information Exposure vulnerability in directus. A fix is available for directus — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-m5q3-8wgf-x8xf.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
directusnpmDescription
Impact
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.
Patches
The problem has been patched by preventing any hashed/concealed field to be filtered against with the _starts_with or other string operator.
Workarounds
Ensuring that no user has read access to the password field in directus_users is sufficient to prevent this vulnerability.
For more information
If you have any questions or comments about this advisory:
- Open a Discussion in directus/directus
- Email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | directus | all versions | 9.16.0npm install directus@9.16.0 |
Affected Products
directusmonospaceDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for directus, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update directus to 9.16.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-m5q3-8wgf-x8xf is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is GHSA-m5q3-8wgf-x8xf in your dependencies?
Find it across npm, including transitive dependencies.