Privilege escalation occurs when a user gets access to more resources or functionality than they are normally allowed.