Incorrect authorization in Directus - #VU158873
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote user to recover sensitive field values hidden by read permissions in Directus collections.
The vulnerability exists due to incorrect authorization in ItemsService.getKeysByQuery when resolving target items for update-by-query and delete-by-query requests without the caller's accountability. A remote user can submit repeated requests with filters on hidden fields in a collection where they have update or delete permission and observe which items appear in the responses to recover those fields' values through a boolean oracle.
Each probe performs a real update or delete on matching items within the user's existing permissions.