Retrieval of user records is based on a key value controlled by the user. If the system does not properly enforce authorization checks, an attacker may modify the key to access unauthorized data. This can lead to data exposure, privilege escalation, and unauthorized modifications.