Advisory

GHSA-8jpw-gpr4-8cmh

Also known as: CVE-2025-64748

Summary

Directus's conceal fields are searchable if read permissions enabled

Details

Summary

A vulnerability allows authenticated users to search concealed/sensitive fields when they have read permissions. While actual values remain masked (****), successful matches can be detected through returned records, enabling enumeration attacks on sensitive data.

Details

The system permits search operations on concealed fields in the directus_users collection, including token, tfa_secret, password. Matching records are returned with masked values, but their presence confirms the searched value exists.

The "Recommended Defaults" for "App Access" grant users full read permissions to their role/user records, inadvertently enabling them to search for any user's tokens, TFA secrets, and password hashes. Attackers can leverage known password hashes from breach databases to identify accounts with compromised passwords.

Impact

This vulnerability enables:

  • Token enumeration - Verification of valid authentication tokens
  • Password hash matching - Identification of accounts using known compromised passwords
  • Information disclosure - Confirmation of sensitive value existence without viewing actual data
  • Increased attack surface - Default permissions automatically expose all deployments using recommended settings

The risk is particularly high for password fields, where attackers can cross-reference publicly available hash databases to identify vulnerable accounts.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-13 23:06 UTC
Modified
2025-11-15 03:15 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 11.13.0 (semver)

Fixed versions

11.13.0

Fix

@directus/api

npm · All systems

Affected

  • introduced 0, fixed 32.0.0 (semver)

Fixed versions

32.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences