Kimai versions before 2.65.0 have a vulnerability where permission validation is insufficient when removing team access to activities, projects, and customers via API endpoints. Authenticated users with the edit_team permission can revoke team access without undergoing the required permissions_activity check, allowing them to bypass authorization controls.