{"id":"GHSA-p8v3-m643-4xqx","revision":"154b6ca5853f46a7b9578be846a62d17","records":[{"revision":"154b6ca5853f46a7b9578be846a62d17","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-p8v3-m643-4xqx","aliases":["CVE-2024-34708"],"title":"Directus allows redacted data extraction on the API through \"alias\"","description":"## Summary\nA user with permission to view any collection using redacted hashed fields can get access the raw stored version using the `alias` functionality on the API.\nNormally, these redacted fields will return `**********` however  if we change the request to `?alias[workaround]=redacted` we can instead retrieve the plain text value for the field.\n\n## Steps to reproduce\n- Set up a simple role with read-access to users.\n- Create a new user with the role from the previous step\n- Assign a password to the user\n\nThe easiest way to confirm this vulnerability is by first visiting `/users/me`. You should be presented with a redacted JSON-object.\nNext, visit `/users/me?alias[hash]=password`. This time, the returned JSON object will included the raw password hash instead of the redacted value.\n\n## Workaround\nThis can be avoided by removing permission to view the sensitive fields entirely from users or roles that should not be able to see them.","state":0,"publishedAt":"2024-05-13T19:40:08+00:00","modifiedAt":"2026-09-10T03:50:13.9944247+00:00","affected":[{"ecosystem":"npm","name":"directus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"10.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqx","https://nvd.nist.gov/vuln/detail/CVE-2024-34708","https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617b","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-p8v3-m643-4xqx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p8v3-m643-4xqx","identifiers":["GHSA-p8v3-m643-4xqx","CVE-2024-34708"]},"retained":false,"historicalAffected":[]}],"coverage":[]}